Difference between revisions of "Steam Web API"

From Valve Developer Community
Jump to: navigation, search
m (Created page with 'Team Fortress 2 functions are described at http://wiki.teamfortress.com/w/index.php?title=WebAPI')
 
m
Line 1: Line 1:
 
Team Fortress 2 functions are described at http://wiki.teamfortress.com/w/index.php?title=WebAPI
 
Team Fortress 2 functions are described at http://wiki.teamfortress.com/w/index.php?title=WebAPI
 +
 +
== Other interfaces and methods ==
 +
 +
=== GetNewsForApp (v0001) ===
 +
 +
GetNewsForApp returns the latest of a game specified by its appID.
 +
 +
Example URL: http://api.steampowered.com/ISteamNews/GetNewsForApp/v0001/?appid=440&count=3&maxlength=300
 +
 +
==== Arguments ====
 +
 +
*'''appid'''
 +
** AppID of the game you want the news of.
 +
*'''count'''
 +
** How many news enties you want to get returned.
 +
*'''maxlength'''
 +
** Maximum length of each news entry.
 +
 +
=== GetGlobalAchievementPercentagesForApp (v0001) ===
 +
 +
Returns on global achievements overview of a specific  game in percentages.
 +
 +
Example: http://api.steampowered.com/ISteamUserStats/GetGlobalAchievementPercentagesForApp/v0001/?appid=440
 +
 +
==== Arguments ====
 +
 +
*'''appid'''
 +
** AppID of the game you want the news of.

Revision as of 11:56, 2 July 2010

Team Fortress 2 functions are described at http://wiki.teamfortress.com/w/index.php?title=WebAPI

Other interfaces and methods

GetNewsForApp (v0001)

GetNewsForApp returns the latest of a game specified by its appID.

Example URL: http://api.steampowered.com/ISteamNews/GetNewsForApp/v0001/?appid=440&count=3&maxlength=300

Arguments

  • appid
    • AppID of the game you want the news of.
  • count
    • How many news enties you want to get returned.
  • maxlength
    • Maximum length of each news entry.

GetGlobalAchievementPercentagesForApp (v0001)

Returns on global achievements overview of a specific game in percentages.

Example: http://api.steampowered.com/ISteamUserStats/GetGlobalAchievementPercentagesForApp/v0001/?appid=440

Arguments

  • appid
    • AppID of the game you want the news of.