WebAPI/GetTournamentPlayerStats

From Team Fortress Wiki
< WebAPI
Revision as of 22:31, 18 July 2013 by RJackson (talk | contribs) (Created page with "== URL == <nowiki>GET http://api.steampowered.com/IDOTA2Match_<ID>/GetTournamentPlayerStats/v1</nowiki> == Method-specific parameters == ;account_id ''(string)'': 32-bit acco...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 provide 65006.
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.
maches
An array of matches. Child object structure not yet known.
wins
losses
kills
deaths
assists
kills_average
deaths_average
assists_average
gpm_average
xpm_average
best_kills
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
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. Child object structure not yet known.