Season awards
GET
/
Markdown copyOpen in the playground →
The individual honours of a season and who received them — Most Valuable Player, Sixth Man, Rookie of the Year, Most Improved, Defensive Player, Coach of the Year and so on.
Awards are handed out once a season is over, so for this year’s league ask for the previous season. A coaching award fills manager; a player award fills player.
Parameters
idpathrequired
league id issued by DataSportsAPI, a positive integer
seasonqueryrequired
season id, as listed by /v2/leagues/{id}/seasons
Response
- data
IndividualAward[]- meta
- season, count
- errors
- 403
history_not_in_plan— your plan’s history window begins after this season ended404no_data— our data source holds no awards for that season
The errors every /v2 call shares (key, plan, quota, rate) are listed under error codes.
curl -H "Authorization: Bearer sk_live_…" \
"https://api.datasportsapi.com/v2/leagues/{id}/awards?season=…"Example
{ "data": [ { "key": "most-valuable-player", "name": "Most Valuable Player", "player": { "id": 940794, "name": "Shai Gilgeous-Alexander", … }, "manager": null, "team": { "id": 3418, "name": "Oklahoma City Thunder", … } },
{ "key": "coach-of-the-year", "name": "Coach of the Year", "player": null, "manager": { "id": 799149, "name": "Joe Mazzulla", … }, "team": { … } }, … ],
"meta": { "season": 80229, "count": 11 } }