Difference between revisions of "WebAPI/GetRecentlyPlayedGames"
< WebAPI
(Created page with "== URL == <nowiki>GET http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1</nowiki> == Method-specific parameters == ::;{{API optional|steamid}} ''(uint64)'': Th...") |
('''Main article about WebAPI.''') |
||
(2 intermediate revisions by one other user not shown) | |||
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> | ||
== Method-specific parameters == | == Method-specific parameters == | ||
− | ::;{{API optional|steamid}} ''(uint64)'': The 64 bit ID of the | + | ::;{{API optional|steamid}} ''(uint64)'': The 64 bit ID of the player. |
− | ::;count ''(uint32)'': The number of games to return. | + | ::;{{API optional|count}} ''(uint32)'': The number of games to return. |
== Result data == | == Result data == |
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.