How to retrieve a list of a user's games? #381
-
I've got two ideas for tools I'd like to write/improve, which require similar information; I'd like to be able to:
I'm aware that you can pull down a user's game list without any authentication in XML format straight from the Web site, but I'm trying to improve on that for two reasons:
This seems like something that should be straightforward, but for the life of me I can't find anything in the docs that looks right. I've already got the API up and running (I'm using it to redeem keys), so I don't think I need help with general configuration...just this particular call. Does it exist? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
After login in with I suppose you could also scrape https://store.steampowered.com/account/history/ Steam community xml or via Steam web api, but depends on their privacy settings. Either public, or friend only if you are friends with the user. https://steamapi.xpaw.me/#IPlayerService/GetOwnedGames |
Beta Was this translation helpful? Give feedback.
After login in with
SteamClient
you receive a license list with all the apps that the account owns. You can then inspect get all the owned games. Here issteamctl apps licenses list
implementation https://github.com/ValvePython/steamctl/blob/4d6b19a921a4db521ed6e0d05a1dae2458441a9a/steamctl/commands/apps/gcmds.py#L179-L227I suppose you could also scrape https://store.steampowered.com/account/history/
Steam community xml or via Steam web api, but depends on their privacy settings. Either public, or friend only if you are friends with the user. https://steamapi.xpaw.me/#IPlayerService/GetOwnedGames