Get Recently Played Games
Returns a list of games a player has played in the last two weeks, if the profile is publicly visible. Private, friends-only, and other privacy settings are not supported unless you are asking for your own personal details (i.e., the WebAPI key you are using is linked to the steamid you are requesting). Example: http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v0001/?key=XXXXXXXXXXXXXXXXX&steamid=76561197960434622&format=json
In: query
Query Parameters
The SteamID of the account
nullOptionally limit to a certain number of games (the number of games a person has played in the last 2 weeks is typically very small)
nullint32An alternative to the query string parameters; pass arguments as a URL-encoded JSON blob. The "key" and "format" fields should still be passed as separate parameters
The format of the response. Defaults to json
"json" | "xml" | "vdf"Response Body
curl -X GET "https://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1"