文档
测试

获取球员列表

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

接口描述

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

请求参数

参数名
类型
描述
必填
user
string
示例:cmqp
必填
secret
string
示例:72186080619b93ec687ccb5f0800321c
必填
id
string
查询大于等于id的记录,根据id排序
必填
limit
string
返回数据最大数,默认为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
必填
team_id
int
示例:0
必填
birthday
int
示例:428976000
必填
age
int
示例:37
必填
weight
int
示例:71
必填
height
int
示例:183
必填
nationality
string
示例:荷兰
必填
market_value_currency
string
示例:€
必填
market_value
int
示例:0
必填
contract_until
int
示例:0
必填
position
string
示例:F
必填
name_zh
string
示例:罗宾·范佩西
必填
short_name_zh
string
示例:范佩西
必填
name_en
string
示例:Robin van Persie
必填
short_name_en
string
示例:R. v. Persie
必填
logo
string
示例:https://cdn.sportnanoapi.com/football/player/bfc308d9af673651408af83f18b813ed.png
必填
country_id
int
示例:8
必填
preferred_foot
int
示例:1
必填
updated_at
int
示例:1590034415
必填

说明 / 示例

{ "code": 0, "query": { "total": 1000, "type": "sequence", "id": 0, "min_id": 10000, "max_id": 10999, "limit": 1000 }, "results": [ { "id": 10000, "team_id": 0, "birthday": 428976000, "age": 37, "weight": 71, "height": 183, "nationality": "荷兰", "market_value_currency": "€", "market_value": 0, "contract_until": 0, "position": "F", "name_zh": "罗宾·范佩西", "short_name_zh": "范佩西", "name_en": "Robin van Persie", "short_name_en": "R. v. Persie", "logo": "https://cdn.sportnanoapi.com/football/player/bfc308d9af673651408af83f18b813ed.png", "country_id": 8, "preferred_foot": 1, "updated_at": 1590034415 }, { "id": 10001, "team_id": 0, "birthday": 346118400, "age": 40, "weight": 67, "height": 176, "nationality": "英格兰", "market_value_currency": "€", "market_value": 0, "contract_until": 0, "position": "D", "name_zh": "阿什利·科尔", "short_name_zh": "科尔", "name_en": "Ashley Cole", "short_name_en": "A. Cole", "logo": "https://cdn.sportnanoapi.com/football/player/d78da0efd3dafc29a146cf0493430003.png", "country_id": 1, "preferred_foot": 1, "updated_at": 1590034415 }, { "id": 10002, "team_id": 0, "birthday": 431222400, "age": 37, "weight": 73, "height": 176, "nationality": "西班牙", "market_value_currency": "€", "market_value": 0, "contract_until": 0, "position": "M", "name_zh": "何塞·雷耶斯", "short_name_zh": "雷耶斯", "name_en": "José Antonio Reyes", "short_name_en": "J. A. Reyes", "logo": "https://cdn.sportnanoapi.com/football/player/525a7696d4803589a6b970e6225eda76.png", "country_id": 3, "preferred_foot": 1, "updated_at": 1590034415 }]}