Difference between revisions of "WebAPI/GetRarities"
< WebAPI
(marked as stub) |
('''Main article about WebAPI.''') |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | '''Main article about [[WebAPI]].''' | |
== URL == | == URL == | ||
<nowiki>GET http://api.steampowered.com/IEconDOTA2_<ID>/GetRarities/v1</nowiki> | <nowiki>GET http://api.steampowered.com/IEconDOTA2_<ID>/GetRarities/v1</nowiki> | ||
Line 7: | Line 7: | ||
== Result data == | == Result data == | ||
+ | ;result: | ||
+ | :;count: Possible number of rarities. This number appears to be<ref>As of '''2012-08-19'''</ref> currently incorrect and off by one. | ||
+ | :;rarities: List of rarity objects | ||
+ | ::;name: The internal rarity name string. | ||
+ | ::;id: ID of rarity, used for indexing. | ||
+ | ::;order: Sorting and logical order of rarities, from most distributed to least. | ||
+ | ::;color: String of the hexadecimal RGB tuple of the rarity name as it is displayed in-game. | ||
+ | ::;localized_name: The localized name of the rarity for use in name display. | ||
+ | |||
+ | == Notes == | ||
+ | <references/> | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:WebAPI]] |
Latest revision as of 20:15, 18 December 2021
Main article about WebAPI.
URL
GET http://api.steampowered.com/IEconDOTA2_<ID>/GetRarities/v1
Method-specific parameters
- language (Optional) (string)
- The language to provide rarity names in.
Result data
- result
-
- count
- Possible number of rarities. This number appears to be[1] currently incorrect and off by one.
- rarities
- List of rarity objects
- name
- The internal rarity name string.
- id
- ID of rarity, used for indexing.
- order
- Sorting and logical order of rarities, from most distributed to least.
- color
- String of the hexadecimal RGB tuple of the rarity name as it is displayed in-game.
- localized_name
- The localized name of the rarity for use in name display.
Notes
- ↑ As of 2012-08-19