获取赛事列表
GET
https://open.sportnanoapi.com/api/v4/football/competition/list
接口描述
返回赛事数据列表,可以根据时间戳增量获取新增或变动的数据
请求参数
参数名
类型
描述
必填
user
string
用户名
必填
secret
string
用户密钥
必填
id
integer
查询大于等于id的记录,根据id排序
必填
time
integer
查询大于等于更新时间的记录(时间戳),根据更新时间排序
必填
limit
integer
返回数据最大数,默认为1000,最大为1000
必填
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
total
int
示例:1000
必填
type
string
示例:sequence
必填
id
int
示例:0
必填
min_id
int
示例:1
必填
max_id
int
示例:1509
必填
limit
int
示例:1000
必填
id
int
示例:1
必填
category_id
int
示例:1
必填
country_id
int
示例:0
必填
name_en
string
示例:FIFA World Cup
必填
name_zh
string
示例:世界杯
必填
name_zht
string
示例:世界盃
必填
short_name_en
string
示例:World Cup
必填
short_name_zh
string
示例:世界杯
必填
short_name_zht
string
示例:世界盃
必填
type
int
示例:2
必填
cur_season_id
int
示例:7555
必填
cur_stage_id
int
示例:8545
必填
cur_round
int
示例:0
必填
round_count
int
示例:0
必填
logo
string
示例:https://cdn.sportnanoapi.com/football/competition/3901a01c4d76ef57fa641b37bf09d297.png
必填
updated_at
int
示例:1590546349
必填
title_holder
array
数据列表
必填
id
int
示例:8
必填
category_id
int
示例:1
必填
country_id
int
示例:0
必填
name_en
string
示例:FIFA World Cup qualification (OFC)
必填
name_zh
string
示例:世界杯大洋洲区预选赛
必填
name_zht
string
示例:世界盃大洋洲區預選賽
必填
short_name_en
string
示例:WCPO
必填
short_name_zh
string
示例:大洋预选
必填
short_name_zht
string
示例:大洋預選
必填
type
int
示例:2
必填
cur_season_id
int
示例:24
必填
cur_stage_id
int
示例:14144
必填
cur_round
int
示例:0
必填
round_count
int
示例:0
必填
logo
string
示例:https://cdn.sportnanoapi.com/football/competition/8bb068f19c99af99b7d202ed5c204926.png
必填
updated_at
int
示例:1590546349
必填