Documentation / Games
One game
One game, with the score by period.
Free key and up
Parameters
| Name | In | Type | About |
|---|---|---|---|
id required | path | id | The game, by its id (gm_…). e.g. gm_60NTZGSD |
What comes back
data is one of these:
| Field | Type | About |
|---|---|---|
id | id | A game id. |
competition | object | |
competition.id | id | A competition id. |
competition.name | string | |
season | object | |
season.id | id | A season id. |
season.name | string | |
stage | string or null | regular, play-in, playoffs, preseason or all-star for most competitions; a few name their own stages (final four, cup). The stats endpoints count regular-season and play-off games, never preseason or all-star; standings count regular season only. |
round | string or null | |
date | date | The venue's own calendar day. |
tip_off | date-time or null | |
status | string | no_result: no score and none to come (called off, abandoned, decided by forfeit, postponed and not replayed on the day, or never reported). A game postponed to a later day stays scheduled. |
home | object | |
home.id | id | A team id. |
home.name | string | |
away | object | |
away.id | id | A team id. |
away.name | string | |
home_score | integer or null | |
away_score | integer or null | |
attendance | integer or null | |
venue | string or null | The arena, where the league names it. |
has | object | |
has.boxscore | boolean | |
has.playbyplay | boolean | |
has.shots | boolean | |
periods | object or null | |
periods.home | array of integer | |
periods.away | array of integer | |
officials | array of object or null |
Errors
400422401403429404 What each one means