get_recently_played_games: Get Recently Played Games

Description Usage Arguments Value Returns See Also

View source: R/get-recently-played-games.R

Description

Returns returns a list of games a player has played in the last two weeks if the profile is publicly visible.

Usage

1
get_recently_played_games(steam_key, steam64_id, count)

Arguments

steam_key

A Steam Web API Key.

steam64_id

A 64-bit SteamID.

count

The number of games to return. Returns all games if unspecified.

Value

A list of games a player has played in the last two weeks.

Returns

Each item in the resulting list contains:

appid

The unique identifier for the game

name

The name of the game

playtime_2weeks

The total number of minutes played in the last 2 weeks.

playtime_forever

The total number of minutes played on record, since Steam began tracking total playtime in early 2009.

img_icon_url

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.

img_logo_url

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.

See Also

get_user_stats_for_game


josegallegos07/steamR documentation built on May 19, 2019, 8:48 p.m.