文档
测试

获取赛程赛果列表-赛事查询

GET
https://open.sportnanoapi.com/api/v4/football/match/competition?user=cmqp&secret=72186080619b93ec687ccb5f0800321c&id=129

接口描述

该接口返回最新赛季全量赛程赛果数据 请求次数:120次/min

请求参数

参数名
类型
描述
必填
user
string
用户名
必填
secret
string
用户密钥
必填
id
int
示例:129
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
query
object
数据字典
必填
total
int
示例:306
必填
type
string
示例:competition
必填
results
array
数据列表
必填
id
int
示例:2691942
必填
season_id
int
示例:9067
必填
competition_id
int
示例:129
必填
home_team_id
int
示例:10016
必填
away_team_id
int
示例:10047
必填
status_id
int
示例:8
必填
match_time
int
示例:1565980200
必填
neutral
int
示例:0
必填
note
string
示例:
必填
home_scores
array
数据列表
必填
away_scores
array
数据列表
必填
home_position
string
示例:1
必填
away_position
string
示例:11
必填
coverage
object
数据字典
必填
mlive
int
示例:1
必填
intelligence
int
示例:1
必填
lineup
int
示例:1
必填
round
object
数据字典
必填
stage_id
int
示例:44720
必填
round_num
int
示例:1
必填
group_num
int
示例:0
必填
updated_at
int
示例:1587451060
必填

说明 / 示例

{ "code": 0, "query": { "total": 306, "type": "competition" }, "results": [ { "id": 2691942, "season_id": 9067, "competition_id": 129, "home_team_id": 10016, "away_team_id": 10047, "status_id": 8, "match_time": 1565980200, "neutral": 0, "note": "", "home_scores": [2,1,0,3,12,0,0], "away_scores": [2,2,0,3,0,0,0], "home_position": "1", "away_position": "11", "coverage": { "mlive": 1, "intelligence": 1, "lineup": 1 }, "round": { "stage_id": 44720, "round_num": 1, "group_num": 0 }, "updated_at": 1587451060 }, { "id": 2691943, "season_id": 9067, "competition_id": 129, "home_team_id": 10036, "away_team_id": 10727, "status_id": 8, "match_time": 1566048600, "neutral": 0, "note": "", "home_scores": [1,0,0,0,14,0,0], "away_scores": [3,1,0,2,5,0,0], "home_position": "8", "away_position": "10", "coverage": { "mlive": 1, "intelligence": 1, "lineup": 1 }, "round": { "stage_id": 44720, "round_num": 1, "group_num": 0 }, "updated_at": 1587449860 }】}