json - GetOwnedGames from SteamAPI Not Working? -
i'm trying hours of tf2 played steam profiles application i'm developing. i'm not experienced @ manipulating json, i'm not sure if api bad or if i'm bad.
according this: https://developer.valvesoftware.com/wiki/steam_web_api#getownedgames_.28v0001.29 can call include_played_free_games show tf2. when make web request using this: http://api.steampowered.com/iplayerservice/getownedgames/v1/?key=xxxxxxxxxxxxxxxxxxxxxxx&include_played_free_games=true&format=json&steamid=xxxxxxxxxxxxxxxxxxxxxxx
the request valid, tf2, appid 440, doesn't show up. going crazy, or should working?
the user has have played game @ point returned when specifying 'include_played_free_games'.
from api documentation:
include_played_free_games: default, free games team fortress 2 excluded (as technically owns them). if include_played_free_games set, returned if player has played them @ point. same behavior games list on steam community.
the url requires numeric value '1' parameters , not work if use 'true'. following url worked me when using own steam id , web key:
http://api.steampowered.com/iplayerservice/getownedgames/v0001/?key=xxxxxxxxxxxxxxxx&include_played_free_games=1&include_appinfo=1&format=json&steamid=xxxxxxxxxxx
Comments
Post a Comment