Skip to main content

Dota2GamePlayer

Player's data for a game

Properties

NameTypeRequiredDescription
abilitiesList[Dota2PerHeroAbility]
assistsintPlayer's number of assists for a game
camps_stackedint
creeps_stackedint
damage_takenint
deathsint
deniesintNumber of denies performed by a player
factionDota2GamePlayerFaction
game_idint
gold_per_minint
gold_remainingint
gold_spentint
healintHealing (in HP) performed by the player
heroDota2GamePlayerHero
hero_damageint
hero_levelint
itemsList[Dota2Item]
killsint
lane_creepint
last_hitsint
net_worthintNet worth of the player
neutral_creepint
observer_usedint
observer_wards_destroyedint
observer_wards_purchasedint
opponentDota2GamePlayerOpponent
playerBasePlayer
roleintPosition of the player (1, 2, 3, 4, 5)
sentry_usedint
sentry_wards_destroyedint
sentry_wards_purchasedint
team_idint
tower_damageint
tower_killsint
xp_per_minint

Dota2GamePlayerFaction

Properties

NameTypeRequiredDescription
DIREstr"dire"
RADIANTstr"radiant"

Dota2GamePlayerHero

Properties

NameTypeRequiredDescription
id_int
image_urlstr
localized_namestr
namestr

Dota2GamePlayerOpponent

Opponent_1_2

Properties

NameTypeRequiredDescription
activeboolWhether player is active
agefloatAge of the player, null if unknown. When birthday is null, age is an approxiamation. Read more about players' age
Note: This field is only present for users running the Historical plan or above.
birthdaystrBirth day of the player, YYYY-MM-DD format. null if unknown.
Note: This field is only present for users running the Historical plan or above.
first_namestrFirst name of the player. null if unknown
id_intID of the player
image_urlstrURL to the photo of the player. null if not available.
last_namestrLast name of the player. null if unknown
modified_atstr
namestrProfessional name of the player
nationalitystrCountry code matching the nationality of the player according to the ISO 3166-1 standard (Alpha-2 code).
In addition to the standard, the XK code is used for Kosovo.
null if unknown
rolestrRole/position of the player. Field value varies depending on the video game.null if unknown.
Note: role is only available for DotA 2, League of Legends, and Overwatch players.
null for other video games.
slugstrUnique, human-readable identifier for the player.
id and slug can be used interchangeably throughout the API.

Opponent_2_2

Properties

NameTypeRequiredDescription
acronymstr
id_int
image_urlstrURL of the team logo
locationstrThe team's organization location
modified_atstr
namestrThe name of the team.
slugstr

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →