Award team
GET
/
Markdown copyOpen in the playground →
The members of one award team in order, each with their club and season rating, together with the team’s formation — laid out like the team of the week.
Parameters
idpathrequired
league id issued by DataSportsAPI, a positive integer
teamIdpathrequired
award team id, as listed by /v2/leagues/{id}/award-teams
Response
- data
TeamOfTheWeek- meta
- count (players in the team)
- errors
- 404
not_found— DataSportsAPI has never assigned this award team id
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}/award-teams/{teamId}"Example
{ "data": { "formation": "2-3", "players": [ { "order": 1, "player": { "id": 817199, "name": "Nikola Jokić", … }, "team": { "name": "Denver Nuggets", … }, "rating": 8.73, … }, … ] },
"meta": { "count": 5 } }