Difference between revisions of "WebAPI/GetOwnedGames"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "== URL == <nowiki>GET http://api.steampowered.com/IPlayerService/GetOwnedGames/v1</nowiki> == Method-specific parameters == ;{{API optional|steamid}} ''(uint64)'': The 64 bit ID...")
 
m
Line 17: Line 17:
 
::;{{API optional|playtime_forever}}: An integer of the the player's total playtime, denoted in minutes.
 
::;{{API optional|playtime_forever}}: An integer of the the player's total playtime, denoted in minutes.
 
::;{{API optional|img_icon_url}}: The program icon's file name, accessible at: <code><nowiki>http://media.steampowered.com/steamcommunity/public/images/apps/APPID/IMG_ICON_URL.jpg</nowiki></code>, replacing "APPID" and "IMG_ICON_URL" as necessary.
 
::;{{API optional|img_icon_url}}: The program icon's file name, accessible at: <code><nowiki>http://media.steampowered.com/steamcommunity/public/images/apps/APPID/IMG_ICON_URL.jpg</nowiki></code>, replacing "APPID" and "IMG_ICON_URL" as necessary.
::;{{API optional|img_logo_url}}: The program logo's file name, accessible at: <code><nowiki>http://media.steampowered.com/steamcommunity/public/images/apps/APPID/IMG_LOGO_URL.jpg</nowiki></code>, replacing "APPID" and "IMG_ICON_URL" as necessary.
+
::;{{API optional|img_logo_url}}: The program logo's file name, accessible at: <code><nowiki>http://media.steampowered.com/steamcommunity/public/images/apps/APPID/IMG_LOGO_URL.jpg</nowiki></code>, replacing "APPID" and "IMG_LOGO_URL" as necessary.
 
::;{{API optional|has_community_visible_stats}}: Whether the program has stats accessible via [[WebAPI/GetUserStatsForGame|GetUserStatsForGame]] and [[WebAPI/GetGlobalStatsForGame|GetGlobalStatsForGame]].
 
::;{{API optional|has_community_visible_stats}}: Whether the program has stats accessible via [[WebAPI/GetUserStatsForGame|GetUserStatsForGame]] and [[WebAPI/GetGlobalStatsForGame|GetGlobalStatsForGame]].
 
[[Category:WebAPI]]
 
[[Category:WebAPI]]

Revision as of 14:55, 6 November 2013

URL

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

Method-specific parameters

steamid (Optional) (uint64)
The 64 bit ID of the player.
include_appinfo (Optional) (bool)
Whether or not to include additional details of apps - name and images. Defaults to false.
include_played_free_games (Optional) (bool)
Whether or not to list free-to-play games in the results. Defaults to false.
appids_filter (Optional) (uint32)
Restricts results to the appids passed here; does not seem to work as of 31 Mar 2013.

Result data

response
game_count
Total number of results.
games
An array of results.
appid
An integer containing the program's ID.
name (Optional)
A string containing the program's publicly facing title.
playtime_2weeks (Optional)
An integer of the player's playtime in the past 2 weeks, denoted in minutes.
playtime_forever (Optional)
An integer of the the player's total playtime, denoted in minutes.
img_icon_url (Optional)
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 (Optional)
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_LOGO_URL" as necessary.
has_community_visible_stats (Optional)
Whether the program has stats accessible via GetUserStatsForGame and GetGlobalStatsForGame.