Skip to main content

BaseDota2Game

Properties

NameTypeRequiredDescription
beginAtstringThe game begin time, UTC.
null when the game status is not_started
completebooleanWhether When true, the game statistics are complete and will not be updated again
detailedStatsbooleanWhether historical data is available for the game
endAtstringThe game end time, UTC.
null when the game status is not finished
finishedbooleanWhether the game is finished
firstBloodnumber
forfeitbooleanWhether the game has been forfeited
idnumber
lengthnumberDuration of the game in seconds.
null when the game status is not finished
matchIdnumber
playersDota2FullGamePlayer[]
positionnumberGame position in the match. Starts at 1
statusGameStatusThe game status
teamsDota2GameTeam[]
winnerGameWinner
winnerTypeBaseDota2GameWinnerType

BaseDota2GameWinnerType

Properties

NameTypeRequiredDescription
PLAYERstring"Player"
TEAMstring"Team"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →