文档
测试

获取场馆列表

GET
https://open.sportnanoapi.com/api/v4/football/venue/list?user=cmqp&secret=72186080619b93ec687ccb5f0800321c&id=&time=&limit=

接口描述

返回场馆数据列表,可以根据时间戳增量获取新增或变动的数据

请求参数

参数名
类型
描述
必填
user
string
用户名
必填
secret
string
用户密钥
必填
id
string
必填
time
string
必填
limit
string
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
query
object
数据字典
必填
total
int
示例:1000
必填
type
string
示例:sequence
必填
id
int
示例:0
必填
min_id
int
示例:1000
必填
max_id
int
示例:1999
必填
limit
int
示例:1000
必填
results
array
数据列表
必填
id
int
示例:1000
必填
name_zh
string
示例:布兰恩球场
必填
name_en
string
示例:Brann Stadion
必填
capacity
int
示例:17686
必填
city
string
示例:Bergen
必填
country
string
示例:Norway
必填
country_id
int
示例:12
必填
updated_at
int
示例:1588745998
必填

说明 / 示例

{ "code": 0, "query": { "total": 1000, "type": "sequence", "id": 0, "min_id": 1000, "max_id": 1999, "limit": 1000 }, "results": [ { "id": 1000, "name_zh": "布兰恩球场", "name_en": "Brann Stadion", "capacity": 17686, "city": "Bergen", "country": "Norway", "country_id": 12, "updated_at": 1588745998 }, { "id": 1001, "name_zh": "SR银行竞技场", "name_en": "SR-Bank Arena", "capacity": 16300, "city": "Stavanger", "country": "Norway", "country_id": 12, "updated_at": 1584673136 }, { "id": 1002, "name_zh": "莱肯达尔球场", "name_en": "Lerkendal Stadion", "capacity": 21166, "city": "Trondheim", "country": "Norway", "country_id": 12, "updated_at": 1588746058 }, { "id": 1003, "name_zh": "比斯莱特体育馆", "name_en": "Bislett Stadion", "capacity": 15400, "city": "Oslo", "country": "Norway", "country_id": 12, "updated_at": 1584673197 }, { "id": 1004, "name_zh": "舷外", "name_en": "Ullevaal", "capacity": 28000, "city": "Oslo", "country": "Norway", "country_id": 12, "updated_at": 1584673256 }]}