文档
测试

获取球队列表

GET
https://open.sportnanoapi.com/api/v4/football/team/list

接口描述

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

请求参数

参数名
类型
描述
必填
user
string
用户名
必填
secret
string
用户密钥
必填
id
integer
查询大于等于id的记录,根据id排序
必填
time
integer
查询大于等于更新时间的记录(时间戳),根据更新时间排序
必填
limit
integer
返回数据最大数,默认为1000,最大为1000
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
query
object
数据字典
必填
total
int
示例:1000
必填
type
string
示例:sequence
必填
id
int
示例:0
必填
min_id
int
示例:10000
必填
max_id
int
示例:10999
必填
limit
int
示例:1000
必填
results
array
数据列表
必填
id
int
示例:10000
必填
competition_id
int
示例:219
必填
country_id
int
示例:14
必填
name_zh
string
示例:萨尔茨堡红牛
必填
short_name_zh
string
示例:萨尔茨堡
必填
name_zht
string
示例:薩爾斯堡
必填
short_name_zht
string
示例:薩爾斯堡
必填
name_en
string
示例:Red Bull Salzburg
必填
short_name_en
string
示例:Red Bull Salzburg
必填
logo
string
示例:https://cdn.sportnanoapi.com/football/team/d8ddbbdf082b5c469b4e1f9e998690dd.png
必填
national
int
示例:0
必填
foundation_time
int
示例:1933
必填
website
string
示例:http://www.austria-salzburg.at/
必填
manager_id
int
示例:1985
必填
venue_id
int
示例:1062
必填
market_value
int
示例:95000000
必填
market_value_currency
string
示例:€
必填
total_players
int
示例:27
必填
foreign_players
int
示例:21
必填
national_players
int
示例:9
必填
updated_at
int
示例:1573469139
必填

说明 / 示例

{ "code": 0, "query": { "total": 1000, "type": "sequence", "id": 0, "min_id": 10000, "max_id": 10999, "limit": 1000 }, "results": [ { "id": 10000, "competition_id": 219, "country_id": 14, "name_zh": "萨尔茨堡红牛", "short_name_zh": "萨尔茨堡", "name_zht": "薩爾斯堡", "short_name_zht": "薩爾斯堡", "name_en": "Red Bull Salzburg", "short_name_en": "Red Bull Salzburg", "logo": "https://cdn.sportnanoapi.com/football/team/d8ddbbdf082b5c469b4e1f9e998690dd.png", "national": 0, "foundation_time": 1933, "website": "http://www.austria-salzburg.at/", "manager_id": 1985, "venue_id": 1062, "market_value": 95000000, "market_value_currency": "€", "total_players": 27, "foreign_players": 21, "national_players": 9, "updated_at": 1573469139 }, { "id": 10001, "competition_id": 219, "country_id": 14, "name_zh": "马特斯堡", "short_name_zh": "马特斯堡", "name_zht": "馬特斯堡", "short_name_zht": "馬特斯堡", "name_en": "Mattersburg", "short_name_en": "Mattersburg", "logo": "https://cdn.sportnanoapi.com/football/team/1a2f6e7b3750b444d8e39122eada179f.png", "national": 0, "foundation_time": 1922, "website": "http://www.sv-mattersburg.at/", "manager_id": 7569, "venue_id": 1131, "market_value": 8350000, "market_value_currency": "€", "total_players": 25, "foreign_players": 3, "national_players": 0, "updated_at": 1588751038 }, { "id": 10002, "competition_id": 221, "country_id": 14, "name_zh": "布雷根茨", "short_name_zh": "布雷根茨", "name_zht": "布雷根茨", "short_name_zht": "布雷根茨", "name_en": "SC Bregenz", "short_name_en": "SC Bregenz", "logo": "https://cdn.sportnanoapi.com/football/team/1b4092400c55f4d97b0db9b05657eaed.png", "national": 0, "foundation_time": 1919, "website": "http://www.swbregenz.at/", "manager_id": 0, "venue_id": 0, "market_value": 0, "market_value_currency": "", "total_players": 0, "foreign_players": 0, "national_players": 0, "updated_at": 1566699711 }, { "id": 10003, "competition_id": 220, "country_id": 14, "name_zh": "瓦克蒂罗尔", "short_name_zh": "瓦克蒂罗尔", "name_zht": "恩斯布魯克", "short_name_zht": "恩斯布魯克", "name_en": "FC Wacker Innsbruck", "short_name_en": "FC Wacker Innsbruck", "logo": "https://cdn.sportnanoapi.com/football/team/8ae82354934b02183412ecb41bce44c8.png", "national": 0, "foundation_time": 1913, "website": "http://www.fc-wacker-tirol.com/", "manager_id": 6549, "venue_id": 1199, "market_value": 4099999, "market_value_currency": "€", "total_players": 27, "foreign_players": 4, "national_players": 0, "updated_at": 1586466058 }]}