Difference between revisions of "WebAPI/GetGlobalStatsForGame"
< WebAPI
(→Method-specific Parameters) |
(→Result Data) |
||
Line 10: | Line 10: | ||
;{{API optional|enddate}}: End date for daily totals (unix epoch timestamp). | ;{{API optional|enddate}}: End date for daily totals (unix epoch timestamp). | ||
− | == Result | + | == Result data == |
+ | ;response: | ||
+ | :;result: Returns result code. | ||
+ | :;globalstats: An array of results. | ||
+ | ::;[name of stat]: The name of the requested stat. | ||
+ | :::;total: The value of the stat. | ||
{{Languages|WebAPI/GetGlobalStatsForGame}} | {{Languages|WebAPI/GetGlobalStatsForGame}} | ||
[[Category:WebAPI|GetGlobalStatsForGame]] | [[Category:WebAPI|GetGlobalStatsForGame]] |
Revision as of 22:16, 30 April 2013
URL
http://api.steampowered.com/ISteamUserStats/GetGlobalStatsForGame/v0001
Method-specific Parameters
- appid
- The ID of the game to retrieve global stats for. This can be the ID of any Steamworks game with global stats available.
- count
- Number of stats to get data for.
- name[0]
- Names of the stats to get. For more than one value, use a parameter for each request. (name[0], name[1], ...)
- Not all stats are globally aggregated. The developer of the game must mark the stat as globally aggregated.
- startdate (Optional)
- Start date for daily totals (unix epoch timestamp).
- enddate (Optional)
- End date for daily totals (unix epoch timestamp).
Result data
- response
-
- result
- Returns result code.
- globalstats
- An array of results.
- [name of stat]
- The name of the requested stat.
- total
- The value of the stat.
Languages: | English |