Difference between revisions of "WebAPI/GetHeroes"

From Team Fortress Wiki
Jump to: navigation, search
m
(http://www.dota2wiki.com/images/f/f8/Wind_lasthit_04.mp3)
Line 7: Line 7:
  
 
== Result data ==
 
== Result data ==
 
+
;result:
 
+
:;heroes: List of heroes.
 +
::;name: The tokenized string for the name of the hero.
 +
::;id: ID of the hero.
 +
::;localized_name: The localized name of the hero for use in name display.
 +
:;count: Number of results.
  
  
 
[[Category:WebAPI]]
 
[[Category:WebAPI]]

Revision as of 17:32, 5 February 2013

URL

GET http://api.steampowered.com/IEconDOTA2_<ID>/GetHeroes/v1

Method-specific parameters

language (Optional) (string)
The language to provide hero names in.
itemizedonly (Optional) (bool)
Return a list of itemized heroes only.

Result data

result
heroes
List of heroes.
name
The tokenized string for the name of the hero.
id
ID of the hero.
localized_name
The localized name of the hero for use in name display.
count
Number of results.