Back to API overview

GameEvent

Game detailed events

Definition

GET https://api-v2.swissunihockey.ch/api/game_events/:game_id

Returns events from a game as a table. Some games will not have events available.

The following parameters must be given:

game_id
string
unique identifier for the game, obtained through other means

The following parameters are optional:

team
string
selector for home team ('home') or away team ('away'). A value of nil (default) shows no preference, thus selecting both.

Sample Response