Description Usage Arguments Value Returns
View source: R/get-owned-games.R
Returns a list of games a player owns along with some playtime information, if the profile is publicly visible. Private, friends-only, and other privacy settings are not supported.
1 2 | get_owned_games(steam_key, steam64_id, include_appinfo = TRUE,
include_played_free_games = FALSE)
|
steam_key |
A Steam Web API Key. |
steam64_id |
A 64-bit SteamID |
include_appinfo |
Logical. Include game name and logo information in the output. |
include_played_free_games |
Logical. By default, free games like Team Fortress 2 are excluded
If |
A list of owned games
Each item in the resulting list contains:
The unique identifier for the game
The name of the game
The total number of minutes played in the last 2 weeks.
The total number of minutes played on record, since Steam began tracking total playtime in early 2009.
The filename for the game's icon. Accessible at http://media.steampowered.com/steamcommunity/public/images/apps/APP_ID/IMG_ICON_URL.jpg replacing APP_ID and IMG_ICON_URL as necessary.
The filename for the game's logo. Accessible at http://media.steampowered.com/steamcommunity/public/images/apps/APP_ID/IMG_LOGO_URL.jpg replacing APP_ID and IMG_LOGO_URL as necessary.
Whether the program has stats accessible
via get_user_stats_for_game
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.