Difference between revisions of "WebAPI/GetRecentlyPlayedGames"

From Team Fortress Wiki
Jump to: navigation, search
m (GOD I SUCK EVEN MORE. Ima proof read this before I hit save again.)
('''Main article about WebAPI.''')
 
Line 1: Line 1:
 +
'''Main article about [[WebAPI]].'''
 
== URL ==
 
== URL ==
 
<nowiki>GET http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1</nowiki>
 
<nowiki>GET http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1</nowiki>

Latest revision as of 20:15, 18 December 2021

Main article about WebAPI.

URL

GET http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1

Method-specific parameters

steamid (Optional) (uint64)
The 64 bit ID of the player.
count (Optional) (uint32)
The number of games to return.

Result data

response
total_count
Total number of results.
games
An array of results.
appid
An integer containing the program's ID.
name
A string containing the program's publicly facing title.
playtime_2weeks
An integer of the player's playtime in the past 2 weeks, denoted in minutes.
playtime_forever
An integer of the the player's total playtime, denoted in minutes.
img_icon_url
The program icon's file name, accessible at: http://media.steampowered.com/steamcommunity/public/images/apps/APPID/IMG_ICON_URL.jpg, replacing "APPID" and "IMG_ICON_URL" as necessary.
img_logo_url
The program logo's file name, accessible at: http://media.steampowered.com/steamcommunity/public/images/apps/APPID/IMG_LOGO_URL.jpg, replacing "APPID" and "IMG_ICON_URL" as necessary.