QuestionRealQuick1 Posted May 1, 2018 Report Posted May 1, 2018 How do you get the current gameS of you and your friends?(including non-steam game) Quote
TomYoki Posted May 1, 2018 Report Posted May 1, 2018 For getting their Steam games you can use:http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/ Non-Steam games are not real games, so you cannot get them using any official Steam methods.Only way I can think of is scraping their profiles, yet that would be very unreliable and inefficient way to do it. Quote
QuestionRealQuick1 Posted May 2, 2018 Author Report Posted May 2, 2018 You sure there isn't something likenew SteamID("STEAMID").getGames() ?am not asking for API methods. asking inside the doctormckay steam community section Quote
Dr. McKay Posted May 2, 2018 Report Posted May 2, 2018 There's nothing in the steamcommunity module to get a user's games. Generally it doesn't include stuff for things you can do with the WebAPI. Quote
QuestionRealQuick1 Posted May 2, 2018 Author Report Posted May 2, 2018 (edited) but you can't get the non-ingame name of a game? am talking about what games the user is current playing Edited May 2, 2018 by QuestionRealQuick1 Quote
Dr. McKay Posted May 2, 2018 Report Posted May 2, 2018 You should use GetPlayerSummaries to get what game someone is playing. Quote
QuestionRealQuick1 Posted May 2, 2018 Author Report Posted May 2, 2018 yea but that don't show non ingame :/ thanks you anyways Quote
Dr. McKay Posted May 2, 2018 Report Posted May 2, 2018 How would you get the name of the game someone is playing if they're not in-game? Quote
QuestionRealQuick1 Posted May 3, 2018 Author Report Posted May 3, 2018 https://i.imgur.com/uQsOqNm.pngthats what am looking for meant non steam game. Quote
Dr. McKay Posted May 3, 2018 Report Posted May 3, 2018 That was originally in there, dunno where it went. Quote
Revadike Posted May 9, 2018 Report Posted May 9, 2018 You can do it with steam-user: const steamid = 123456; client.getPersonas([steamid], personas => { console.log(personas[steamid].game_name); // Non-steam game name }); QuestionRealQuick1 1 Quote
QuestionRealQuick1 Posted May 22, 2018 Author Report Posted May 22, 2018 thanks ^^ figured there was a bit for that Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.