Difference between revisions of "WebAPI/GetTournamentPlayerStats"
< WebAPI
(Created page with "== URL == <nowiki>GET http://api.steampowered.com/IDOTA2Match_<ID>/GetTournamentPlayerStats/v1</nowiki> == Method-specific parameters == ;account_id ''(string)'': 32-bit acco...") |
(→Result data: updated "matches" and "heroes_played" child structures) |
||
Line 15: | Line 15: | ||
:;statusDetail: A message explaining the status, should status not be 1. | :;statusDetail: A message explaining the status, should status not be 1. | ||
:;num_results: Number of matches returned. | :;num_results: Number of matches returned. | ||
− | :; | + | :;matches: An array of matches. |
− | :;wins: | + | ::;player_slot: See [[WebAPI/GetMatchDetails#Player_Slot|#Player Slot]]. |
− | :;losses: | + | ::;hero_id: The hero's unique ID. A list of hero IDs can be found via the [[WebAPI/GetHeroes|GetHeroes]] method. |
− | :;kills: | + | ::;item_0: ID of the top-left inventory item. |
− | :;deaths: | + | ::;item_1: ID of the top-center inventory item. |
− | :;assists: | + | ::;item_2: ID of the top-right inventory item. |
− | :;kills_average: | + | ::;item_3: ID of the bottom-left inventory item. |
− | :;deaths_average: | + | ::;item_4: ID of the bottom-center inventory item. |
− | :;assists_average: | + | ::;item_5: ID of the bottom-right inventory item. |
− | :;gpm_average: | + | ::;kills: The amount of kills attributed to this player. |
− | :;xpm_average: | + | ::;deaths: The amount of times this player died during the match. |
− | :;best_kills: | + | ::;assists: The amount of assists attributed to this player. |
+ | ::;gold: The amount of gold the player had remaining at the end of the match. | ||
+ | ::;last_hits: The amount of last-hits the player got during the match. | ||
+ | ::;denies: The amount of denies the player got during the match. | ||
+ | ::;gold_per_min: The player's overall gold/minute. | ||
+ | ::;xp_per_min: The player's overall experience/minute. | ||
+ | ::;gold_spent: The amount of gold the player spent during the match. | ||
+ | ::;level: The player's level at match end. | ||
+ | ::;win: Whether the player won the match or not (values: "true" or "false"). | ||
+ | ::;match_id: The match's unique ID. | ||
+ | ::;duration: The length of the match, in seconds since the match began. | ||
+ | |||
+ | :;account_id: 32-bit account ID. | ||
+ | :;persona: Account's current Steam profile name. | ||
+ | :;num_results: Number of matches returned. | ||
+ | :;wins: Number of the matches won. | ||
+ | :;losses: Number of the matches lost. | ||
+ | :;kills: Number of kills across all of the matches. | ||
+ | :;deaths: Number of deaths across all of the matches. | ||
+ | :;assists: Number of assists across all of the matches. | ||
+ | :;kills_average: Average number of kills per match. | ||
+ | :;deaths_average: Average number of deaths per match. | ||
+ | :;assists_average: Average number of assists per match. | ||
+ | :;gpm_average: Average gold per minute across all of the matches. | ||
+ | :;xpm_average: Average experience per minute across all of the matches. | ||
+ | :;best_kills: Most kills in one of the matches. | ||
:;best_kills_heroid: Which Hero the player was playing when they achieved <code>best_kills</code>. A list of hero IDs can be found via the [[WebAPI/GetHeroes|GetHeroes]] method. | :;best_kills_heroid: Which Hero the player was playing when they achieved <code>best_kills</code>. A list of hero IDs can be found via the [[WebAPI/GetHeroes|GetHeroes]] method. | ||
− | :;best_gpm: | + | :;best_gpm: Highest gold per minute in one of the matches. |
:;best_gpm_heroid: Which Hero the player was playing when they achieved <code>best_gpm</code>. A list of hero IDs can be found via the [[WebAPI/GetHeroes|GetHeroes]] method. | :;best_gpm_heroid: Which Hero the player was playing when they achieved <code>best_gpm</code>. A list of hero IDs can be found via the [[WebAPI/GetHeroes|GetHeroes]] method. | ||
− | :;heroes_played: An array of heroes played. | + | :;heroes_played: An array of heroes played. |
+ | ::;id: The hero's unique ID. A list of hero IDs can be found via the [[WebAPI/GetHeroes|GetHeroes]] method. | ||
+ | ::;wins: Number of matches won with this hero. | ||
+ | ::;losses: Number of matches lost with this hero. | ||
<references/> | <references/> | ||
{{Languages|WebAPI/GetTournamentPlayerStats}} | {{Languages|WebAPI/GetTournamentPlayerStats}} | ||
[[Category:WebAPI|GetTournamentPlayerStats]] | [[Category:WebAPI|GetTournamentPlayerStats]] |
Revision as of 16:30, 11 September 2013
URL
GET http://api.steampowered.com/IDOTA2Match_<ID>/GetTournamentPlayerStats/v1
Method-specific parameters
- account_id (string)
- 32-bit account ID.
- league_id (Optional) (string)
- A list of league IDs can be found via the GetLeagueListing method. Will return status 8 -
only supports tournament 65006
(The International) unless you provide65006
. - hero_id (Optional) (string)
- A list of hero IDs can be found via the GetHeroes method.
- time_frame (Optional) (string)
- Only return stats between this time frame (parameter format not yet known).
Result data
- result
-
- status
-
- 1 - Success
- 8 - only supports tournament 65006 (The International).
- statusDetail
- A message explaining the status, should status not be 1.
- num_results
- Number of matches returned.
- matches
- An array of matches.
- player_slot
- See #Player Slot.
- hero_id
- The hero's unique ID. A list of hero IDs can be found via the GetHeroes method.
- item_0
- ID of the top-left inventory item.
- item_1
- ID of the top-center inventory item.
- item_2
- ID of the top-right inventory item.
- item_3
- ID of the bottom-left inventory item.
- item_4
- ID of the bottom-center inventory item.
- item_5
- ID of the bottom-right inventory item.
- kills
- The amount of kills attributed to this player.
- deaths
- The amount of times this player died during the match.
- assists
- The amount of assists attributed to this player.
- gold
- The amount of gold the player had remaining at the end of the match.
- last_hits
- The amount of last-hits the player got during the match.
- denies
- The amount of denies the player got during the match.
- gold_per_min
- The player's overall gold/minute.
- xp_per_min
- The player's overall experience/minute.
- gold_spent
- The amount of gold the player spent during the match.
- level
- The player's level at match end.
- win
- Whether the player won the match or not (values: "true" or "false").
- match_id
- The match's unique ID.
- duration
- The length of the match, in seconds since the match began.
- account_id
- 32-bit account ID.
- persona
- Account's current Steam profile name.
- num_results
- Number of matches returned.
- wins
- Number of the matches won.
- losses
- Number of the matches lost.
- kills
- Number of kills across all of the matches.
- deaths
- Number of deaths across all of the matches.
- assists
- Number of assists across all of the matches.
- kills_average
- Average number of kills per match.
- deaths_average
- Average number of deaths per match.
- assists_average
- Average number of assists per match.
- gpm_average
- Average gold per minute across all of the matches.
- xpm_average
- Average experience per minute across all of the matches.
- best_kills
- Most kills in one of the matches.
- best_kills_heroid
- Which Hero the player was playing when they achieved
best_kills
. A list of hero IDs can be found via the GetHeroes method. - best_gpm
- Highest gold per minute in one of the matches.
- best_gpm_heroid
- Which Hero the player was playing when they achieved
best_gpm
. A list of hero IDs can be found via the GetHeroes method. - heroes_played
- An array of heroes played.
- id
- The hero's unique ID. A list of hero IDs can be found via the GetHeroes method.
- wins
- Number of matches won with this hero.
- losses
- Number of matches lost with this hero.
Languages: | English |