Difference between revisions of "WebAPI/GetPlayerAchievements"

From Team Fortress Wiki
Jump to: navigation, search
m
('''Main article about WebAPI.''')
 
Line 1: Line 1:
 +
'''Main article about [[WebAPI]].'''
 
== URL ==
 
== URL ==
 
<nowiki>GET http://api.steampowered.com/ISteamUserStats/GetPlayerAchievements/v1</nowiki>
 
<nowiki>GET http://api.steampowered.com/ISteamUserStats/GetPlayerAchievements/v1</nowiki>

Latest revision as of 20:14, 18 December 2021

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.