Closed rtizzy closed 5 years ago
As an example, you can also use this basic curl request.
export STEAM_API_KEY =
export STEAM_ID =
curl 'http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1/?key=$STEAM_API_KEY&steamid=$STEAM_ID&format=json' | json_pp
Here is some truncated output
{
"response" : {
"games" : [
{
"appid" : 427520,
"img_logo_url" : "95e5aa627ae1481b1dea293f6db5954e8aa79f41",
"playtime_forever" : 1372,
"img_icon_url" : "267f5a89f36ab287e600a4e7d4e73d3d11f0fd7d",
"name" : "Factorio",
"playtime_2weeks" : 388
},
Pull request has been opened.
this is tested and working.
https://partner.steamgames.com/doc/webapi/IPlayerService#GetOwnedGames
The image URL is part of the API response when requesting owned games.
Example Code:
This will list the following:
Is there anyway to grab that part of the API response with smiley/steamapi?