Difference between revisions of "WebAPI/GetHeroes"
< WebAPI
(lagg fix) |
('''Main article about WebAPI.''') |
||
(2 intermediate revisions by 2 users not shown) | |||
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> | ||
Line 7: | Line 8: | ||
== 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]] |
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.