Difference between revisions of "WebAPI/GetPlayerAchievements"

From Team Fortress Wiki
Jump to: navigation, search
(marked as stub)
Line 1: Line 1:
{{stub}}
 
 
== URL ==
 
== URL ==
 
<nowiki>GET http://api.steampowered.com/ISteamUserStats/GetPlayerAchievements/v1</nowiki>
 
<nowiki>GET http://api.steampowered.com/ISteamUserStats/GetPlayerAchievements/v1</nowiki>
Line 9: Line 8:
  
 
== Result data ==
 
== Result data ==
 +
 +
;playerstats:
 +
:;steamID: The 64 bit ID of the user
 +
:;gameName: String containing the game title
 +
:;achievements: List of achievement objects
 +
::;apiname: String containing the ID of the achievement.
 +
::;achieved: Integer to be used as a boolean value indicating whether or not the achievement has been unlocked by the user.
 +
::;name: String containing the localized title of the achievement.
 +
::;description: String containing the localized string or requirements of the achievement.
 +
:;success: Boolean value indicating if the request was successful.

Revision as of 03:15, 14 August 2012

URL

GET http://api.steampowered.com/ISteamUserStats/GetPlayerAchievements/v1

Method-specific parameters

steamid (uint64)
SteamID of user
appid (uint32)
AppID to get achievements for
l (Optional) (string)
Language to return strings for

Result data

playerstats
steamID
The 64 bit ID of the user
gameName
String containing the game title
achievements
List of achievement objects
apiname
String containing the ID of the achievement.
achieved
Integer to be used as a boolean value indicating whether or not the achievement has been unlocked by the user.
name
String containing the localized title of the achievement.
description
String containing the localized string or requirements of the achievement.
success
Boolean value indicating if the request was successful.