Fixtures
Esports game statistics
GET/v2/fixtures/{id}/games/{gameId}/statisticsAll plans
Esports: each side’s objectives in one game — kills, gold, towers, inhibitors, dragons (League of Legends also per element, dragonsByType), elder dragons, barons, the herald; Dota 2 barracks and first blood.
A side is null when the source has no objectives for it — always in Counter-Strike. gold, dragons and barons are League of Legends; barracks and firstBlood Dota 2.
Parameters
id
our numeric id (positive integer)
gameId
our game id: EsportsGame.id from /v2/fixtures/{id}/games
Response
- data
EsportsGameStatistics- 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}/statistics"
Example
{ "data": { "home": { "kills": 8, "gold": 57524, "towers": 3, "inhibitors": 0, "dragons": 3, "elderDragons": 0, "barons": 1, "heraldTaken": false, "barracks": null, "firstBlood": null, "dragonsByType": { "chemtech": 0, "cloud": 0, "hextech": 0, "infernal": 0, "mountain": 0, "ocean": 3 } }, "away": { … } }, "meta": { "gameId": 9021440 } }