Game
Properties
Name | Type | Required | Description |
---|---|---|---|
beginAt | string | ✅ | The game begin time, UTC. null when the game status is not_started |
complete | boolean | ✅ | Whether When true , the game statistics are complete and will not be updated again |
detailedStats | boolean | ✅ | Whether historical data is available for the game |
endAt | string | ✅ | The game end time, UTC. null when the game status is not finished |
finished | boolean | ✅ | Whether the game is finished |
forfeit | boolean | ✅ | Whether the game has been forfeited |
id | GameId | ✅ | ID of the game. IDs are video game-specific, ie. a Valorant game and an Overwatch game can have the same game ID. |
length | number | ✅ | Duration of the game in seconds. null when the game status is not finished |
matchId | number | ✅ | |
position | number | ✅ | Game position in the match. Starts at 1 |
status | GameStatus | ✅ | The game status |
winner | GameWinner | ✅ | |
winnerType | GameWinnerType1 | ✅ |
GameWinnerType1
Properties
Name | Type | Required | Description |
---|---|---|---|
PLAYER | string | ✅ | "Player" |
TEAM | string | ✅ | "Team" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs