Difference between revisions of "WebAPI/GetHeroes"

From Team Fortress Wiki
Jump to: navigation, search
(http://www.dota2wiki.com/images/f/f8/Wind_lasthit_04.mp3)
('''Main article about WebAPI.''')
 
Line 1: Line 1:
 +
'''Main article about [[WebAPI]].'''
 
== URL ==
 
== URL ==
 
<nowiki>GET http://api.steampowered.com/IEconDOTA2_<ID>/GetHeroes/v1</nowiki>
 
<nowiki>GET http://api.steampowered.com/IEconDOTA2_<ID>/GetHeroes/v1</nowiki>

Latest revision as of 20:13, 18 December 2021

Main article about WebAPI.

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.