WebAPI/GetPlayerAchievements

From Team Fortress Wiki
Jump to: navigation, search

Main article about WebAPI.

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.