Player of the season
GET
/
View as MarkdownTry in Playground →
Player of the season for a completed league season as chosen by our data source — the highest average match rating among players with enough appearances — together with their club and appearance count.
Parameters
idpathrequired
league id issued by DataSportsAPI, a positive integer
seasonqueryrequired
season id, as listed by /v2/leagues/{id}/seasons
Response
- meta
- season
- errors
- 403
history_not_in_plan— your plan’s history window begins after this season ended404no_data— no award exists yet, either because the season is not over (the contest is at /player-of-the-season/race) or because the league does not hand one out; 404 not_found — the season id belongs to a different league
Any /v2 call can also come back with one of the common errors.
curl -H "Authorization: Bearer sk_live_…" \
"https://api.datasportsapi.com/v2/leagues/{id}/player-of-the-season?season=…"Example
{ "data": { "player": { "id": 4022, "name": "Bruno Fernandes", … }, "team": { "id": 35, "name": "Manchester United", … }, "rating": 7.61, "appearances": 35 },
"meta": { "season": 180212 } }