Difference between revisions of "WebAPI/GetGameItems"

From Team Fortress Wiki
Jump to: navigation, search
(Result data)
('''Main article about WebAPI.''')
 
(One intermediate revision by one other user 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>
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. 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.