文档
测试

获取赛程赛果列表-日期查询

GET
https://open.sportnanoapi.com/api/v4/football/match/diary?user=cmqp&secret=72186080619b93ec687ccb5f0800321c&data=20200529

接口描述

该接口返回所请求日期(限制:前后30天)的全量赛程赛果数据 注:实时数据的获取通过实时统计数据接口 当天赛程建议请求频次:10分钟/次 明日及以后赛程建议请求频次:30分钟/次

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
query
object
数据字典
必填
total
int
示例:91
必填
type
string
示例:diary
必填
results
array
数据列表
必填
id
int
示例:2691463
必填
season_id
int
示例:9065
必填
competition_id
int
示例:258
必填
home_team_id
int
示例:16821
必填
away_team_id
int
示例:11910
必填
status_id
int
示例:8
必填
match_time
int
示例:1590595200
必填
neutral
int
示例:0
必填
note
string
示例:
必填
home_scores
array
数据列表
必填
away_scores
array
数据列表
必填
home_position
string
示例:11
必填
away_position
string
示例:12
必填
coverage
object
数据字典
必填
mlive
int
示例:1
必填
intelligence
int
示例:1
必填
lineup
int
示例:1
必填
round
object
数据字典
必填
stage_id
int
示例:44717
必填
round_num
int
示例:25
必填
group_num
int
示例:0
必填
environment
object
数据字典
必填
weather
int
示例:1
必填
pressure
string
示例:773mmHg
必填
temperature
string
示例:17°C
必填
wind
string
示例:3.4m/s
必填
humidity
string
示例:41%
必填
updated_at
int
示例:1590602029
必填

说明 / 示例

{ "code": 0, "query": { "total": 91, "type": "diary" }, "results": [ { "id": 2691463, "season_id": 9065, "competition_id": 258, "home_team_id": 16821, "away_team_id": 11910, "status_id": 8, "match_time": 1590595200, "neutral": 0, "note": "", "home_scores": [4,2,0,0,4,0,0], "away_scores": [0,0,0,3,4,0,0], "home_position": "11", "away_position": "12", "coverage": { "mlive": 1, "intelligence": 1, "lineup": 1 }, "round": { "stage_id": 44717, "round_num": 25, "group_num": 0 }, "environment": { "weather": 1, "pressure": "773mmHg", "temperature": "17°C", "wind": "3.4m/s", "humidity": "41%" }, "updated_at": 1590602029 }, { "id": 2691464, "season_id": 9065, "competition_id": 258, "home_team_id": 10355, "away_team_id": 10319, "status_id": 8, "match_time": 1590595200, "neutral": 0, "note": "", "home_scores": [0,0,0,1,6,0,0], "away_scores": [1,0,0,2,5,0,0], "home_position": "8", "away_position": "7", "coverage": { "mlive": 1, "intelligence": 1, "lineup": 1 }, "round": { "stage_id": 44717, "round_num": 25, "group_num": 0 }, "environment": { "weather": 1, "pressure": "773mmHg", "temperature": "17°C", "wind": "2.6m/s", "humidity": "47%" }, "updated_at": 1590601969 }, { "id": 2691467, "season_id": 9065, "competition_id": 258, "home_team_id": 14008, "away_team_id": 18696, "status_id": 8, "match_time": 1590595200, "neutral": 0, "note": "", "home_scores": [0,0,0,3,6,0,0], "away_scores": [0,0,0,1,2,0,0], "home_position": "15", "away_position": "13", "coverage": { "mlive": 1, "intelligence": 1, "lineup": 1 }, "round": { "stage_id": 44717, "round_num": 25, "group_num": 0 }, "environment": { "weather": 1, "pressure": "772mmHg", "temperature": "18°C", "wind": "5.1m/s", "humidity": "52%" }, "updated_at": 1590601789 }]}