Difference between revisions of "WebAPI/GetGameItems"

From Team Fortress Wiki
Jump to: navigation, search
(Undo edit by AlexKaz (Talk) (2219416))
('''Main article about WebAPI.''')
 
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>

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.