Fixtures
Esports game bans
GET/v2/fixtures/{id}/games/{gameId}/bansAll plans
Esports: the characters each side banned in one game, in order (League of Legends, Dota 2).
Counter-Strike has no bans: both lists are empty, as they are until the source lists them.
Parameters
id
our numeric id (positive integer)
gameId
our game id: EsportsGame.id from /v2/fixtures/{id}/games
Response
- data
EsportsGameBans- meta
- gameId
- errors
- 403 history_not_in_plan — the fixture is older than your plan’s history404 not_found — a game id that is not a game of this fixture, or an id we never issued
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/fixtures/{id}/games/{gameId}/bans"
Example
{ "data": { "home": [ { "name": "Lucian", "slug": "lucian" }, … ], "away": [ … ] }, "meta": { "gameId": 9021440 } }