Difference between revisions of "WebAPI/GetRecentlyPlayedGames"

From Team Fortress Wiki
Jump to: navigation, search
m (God I am bad at wiki.)
m (GOD I SUCK EVEN MORE. Ima proof read this before I hit save again.)
Line 3: Line 3:
  
 
== Method-specific parameters ==
 
== Method-specific parameters ==
::;{{API optional|steamid}} ''(uint64)'': The 64 bit ID of the friend.
+
::;{{API optional|steamid}} ''(uint64)'': The 64 bit ID of the player.
 
::;{{API optional|count}} ''(uint32)'': The number of games to return.
 
::;{{API optional|count}} ''(uint32)'': The number of games to return.
  

Revision as of 05:08, 31 March 2013

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.