Leagues
Player of the season
GET/v2/leagues/{id}/player-of-the-seasonPro + Business
The source’s player of the season of a finished league season: the best average match rating among the players who played enough, with his team and appearances.
Parameters
id
our numeric id (positive integer)
season
a season id from /v2/leagues/{id}/seasons
Response
- data
PlayerOfTheSeason- meta
- season
- errors
- 403 history_not_in_plan — the season ended before your plan’s history404 no_data — the season is still running (see /player-of-the-season/race) or the league has none; 404 not_found — season is not one of this league’s seasons
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/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 } }