Difference between revisions of "WebAPI/GetGameItems"
< WebAPI
(created page from api) |
('''Main article about WebAPI.''') |
||
(4 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>/GetGameItems/v1</nowiki> | <nowiki>GET http://api.steampowered.com/IEconDOTA2_<ID>/GetGameItems/v1</nowiki> | ||
== Method-specific parameters == | == Method-specific parameters == | ||
− | ;{{API optional|language}} ''(string)'': The language to provide | + | ;{{API optional|language}} ''(string)'': The language to provide item names in. |
== Result data == | == Result data == | ||
Line 14: | Line 15: | ||
::;side_shop: Boolean - true if the item is available in the side shop. | ::;side_shop: Boolean - true if the item is available in the side shop. | ||
::;recipe: Boolean - true if the item is a recipe type item. | ::;recipe: Boolean - true if the item is a recipe type item. | ||
− | ::;localized_name: The localized name of the hero for use in name display. | + | ::;localized_name: The localized name of the hero for use in name display. You will get it only if specifie 'language' parameter. |
− | |||
[[Category:WebAPI]] | [[Category:WebAPI]] |
Latest revision as of 20:13, 18 December 2021
Main article about WebAPI.
URL
GET http://api.steampowered.com/IEconDOTA2_<ID>/GetGameItems/v1
Method-specific parameters
- language (Optional) (string)
- The language to provide item names in.
Result data
- result
-
- items
- List of items.
- id
- ID of the hero.
- name
- The tokenized string for the name of the hero.
- cost
- The in-game gold cost of the item.
- secret_shop
- Boolean - true if the item is only available in the secret shop.
- side_shop
- Boolean - true if the item is available in the side shop.
- recipe
- Boolean - true if the item is a recipe type item.
- localized_name
- The localized name of the hero for use in name display. You will get it only if specifie 'language' parameter.