WebAPI/GetGlobalStatsForGame/tr

From Team Fortress Wiki
Jump to: navigation, search

Main article about WebAPI.

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 (İsteğe bağlı)
Start date for daily totals (unix epoch timestamp).
enddate (İsteğe bağlı)
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.