View Single Post
TehKonijn
Junior Member
Join Date: May 2014
Old 05-06-2014 , 09:37   Re: Family sharing, get owner's SteamID
Reply With Quote #3

Quote:
Originally Posted by psychonic View Post
You can use the Steam Web API for this. Note that it only works while the sharing user is playing the game.

https://api.steampowered.com/IPlayerService/IsPlayingSharedGame/v1?key=<your api key>&steamid=<steamid64>&appid_playing=<appid >

Ex. https://api.steampowered.com/IPlayerService/IsPlayingSharedGame/v1?key=FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF&steam id=76561197968573709&appid_playing=10
Thanks a lot for replying. I appreciate it. Just got another noob questions though if you don't mind.

I created a 'regular API key' which required my website address. Now I enter the URL you supplied inputting my key in the key value but I get an Internal Server Error in return.

https://api.steampowered.com/IPlayerService/IsPlayingSharedGame/v1?key=<snip>&steamid=76561197960265728&appid _playing=10

Have you any idea why, am I doing something wrong?

Edit: I googled IPlayerService and found a Steam Wiki for this API (which has far more information than the 'documentation' and it turns out that one needs to put &format?=xml/json on the end.

Last edited by TehKonijn; 05-06-2014 at 09:42.
TehKonijn is offline