Fenidaz ♔ Mar 12, 2018 @ 5:21pm
Steam API get current game played
Hello, is there any way to get data from the game that a user is playing? like the name, the id and other data?? thank you in advance
< >
Showing 1-8 of 8 comments
Silicon Vampire Mar 12, 2018 @ 5:35pm 
https://developer.valvesoftware.com/wiki/Steam_Web_API

literally 5 seconds with a Internet Search engine...
wuddih Mar 12, 2018 @ 5:36pm 
https://partner.steamgames.com/doc/webapi/ISteamUser#GetPlayerSummaries

the output will include general profile info and also which game they play with name and the games appid and with that you can do other queries.

the link has the whole reference, should be enough material to play around with.

for a more direct measure, the web api basics are explained here:
https://partner.steamgames.com/doc/webapi_overview
Last edited by wuddih; Mar 12, 2018 @ 5:39pm
Fenidaz ♔ Mar 12, 2018 @ 5:44pm 
thank you for yours answers im lil newbie in this, my last searchs, and sorry for waste your time
Last edited by Fenidaz ♔; Mar 12, 2018 @ 5:44pm
BOLL Jan 3, 2020 @ 5:36pm 
As this turned up on Google... I've been using GetPlayerSummaries for this, as mentioned above, but noticed today after coming back from the Christmas break that gameid is now missing from the returned data 🤔 Anyone else noticed this? I wonder what changed, maybe a privacy option?

Edit: Well, that was easy. I had been signed out of friends for absolutely no good reason. Had to click the friends list to even notice it, now it shows up just fine. Doh.
Last edited by BOLL; Jan 3, 2020 @ 5:43pm
neotechni Dec 6, 2021 @ 1:02pm 
Originally posted by Silicon Vampire:
https://developer.valvesoftware.com/wiki/Steam_Web_API

literally 5 seconds with a Internet Search engine...

I've got bad news for you. The search engine refers to this post.
Cathulhu Dec 6, 2021 @ 1:04pm 
And it surely was the only single hit your search brought up?
my new friend Dec 6, 2021 @ 2:18pm 
Originally posted by neotechni:
Originally posted by Silicon Vampire:
https://developer.valvesoftware.com/wiki/Steam_Web_API

literally 5 seconds with a Internet Search engine...

I've got bad news for you. The search engine refers to this post.
No worries. The answer is in the following post. So, searching did in fact work!
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Mar 12, 2018 @ 5:21pm
Posts: 8