Dota2StatsForPlayer
Aggregated statistics for a player grouped by serie
Properties
Name | Type | Required | Description |
---|---|---|---|
active | boolean | ✅ | Whether player is active |
age | number | ✅ | Age 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. |
birthday | string | ✅ | Birth 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. |
currentTeam | Dota2StatsForPlayerCurrentTeam | ✅ | |
currentVideogame | any | ✅ | |
favoriteHeroes | Dota2FavoriteHero[] | ✅ | |
firstName | string | ✅ | First name of the player. null if unknown |
id | number | ✅ | ID of the player |
imageUrl | string | ✅ | URL to the photo of the player. null if not available. |
lastGames | Dota2GamePlayer[] | ✅ | |
lastName | string | ✅ | Last name of the player. null if unknown |
modifiedAt | string | ✅ | |
name | string | ✅ | Professional name of the player |
nationality | string | ✅ | Country 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 |
role | string | ✅ | Role/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. |
slug | string | ✅ | Unique, human-readable identifier for the player. id and slug can be used interchangeably throughout the API. |
stats | Dota2PlayerBySerieStat[] | ✅ | |
teams | BaseTeam[] | ✅ | |
totalStats | Dota2TotalPlayerStat | ✅ | Total Player's statistics |
Dota2StatsForPlayerCurrentTeam
Properties
Name | Type | Required | Description |
---|---|---|---|
acronym | string | ✅ | |
id | number | ✅ | |
imageUrl | string | ✅ | URL of the team logo |
location | string | ✅ | The team's organization location |
modifiedAt | string | ✅ | |
name | string | ✅ | The name of the team. |
slug | string | ✅ |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs