Hey SG,

I'm looking for a way to easily fetch all appIDs from a Steam collection (to be input in Archi's Steam Farm so that I don't idle the games I want to play)

Is there a program of some sort that does this, or do I have to search up every appID manually?

Thanks in advance!

4 years ago

Comment has been collapsed.

Someone will have a good answer, I am sure.

Meanwhile, a bad one: you can go to your game collection webpage, "view source", and all the numbers are there. If you are a caveman like me, from there you can use some Lotus 1-2-3 Excel wizardry to clean up the data.

4 years ago
Permalink

Comment has been collapsed.

Problem is then it's every Steam game in my library, I just want from one of my collections. Maybe Depressurizer would've worked, but it doesn't work with the new library?

4 years ago
Permalink

Comment has been collapsed.

I am not entirely sure, but my guess is that nowadays Steam has a "new" collection database (since the library overhaul), and an "old" one. Depressurizer only seems to handle the old one for now... But there is a way to replace the data in the new one with the data in the old one (if Steam is running, in Windows, do "Run" and "steam://resetcollections" -- careful, this really REPLACES your collections with the old ones).

So, the trick is, if you exclusively use Depressurizer to make your collections, then import into Steam (well, every time you change something), then both "old" and "new" one will be synced, and then you can do everything through Depressurizer. Hm, it sounds like a lot of work the way I described it, but it is actually quite convenient once you get it going.

Of course, I am not sure if this helps you, since I do not know how much you would have to redo things with Depressurizer from older data to get to your new collections, or if they are new at all. And you would still have to figure out how to get the Appids from Depressurizer's JSON data, but this sounds easy.

4 years ago
Permalink

Comment has been collapsed.

For something that is Sub instead of App
you need to use package details instead of app details.

Halo: The Master Chief Collection

Would use...
http://store.steampowered.com/api/packagedetails?packageids=376282

This returns json data.
Clicking it will give you raw data. If you have the proper plugins you can see the it nicely formatted.
You would use the language of your choice to sent the header data and get back info from this url. Then process it however you want. But learn how to use json data in your language of choice. Its very handy and is commonly how data is returned.

You can use app id methods to get further info about the collection.

Both DLC and main game use this format.
http://store.steampowered.com/api/appdetails?appids=1064270

4 years ago
Permalink

Comment has been collapsed.

It's only ~100 games, those few that have subs I can do manually.

4 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 4 years ago.

4 years ago
Permalink

Comment has been collapsed.

Method 1:

  • Open the Steam Console in the client, by either using -console launch option, or use either steam://nav/console or steam://open/console in your file explorer address bar or the Run command window (Win+R).
  • Run licenses_print inside the Steam console.

Method 2 (which might be better, because Steam Client console might have issues with displaying long list of licenses, i.e. when you have a pretty big library (I don't know if that is still the case, that is quite old info, and it might be fixed/changed by now).

4 years ago
Permalink

Comment has been collapsed.

This fetches all appID's and without any names so I can't check which appID's I want to remove though, but thanks for your help!!!

4 years ago
Permalink

Comment has been collapsed.

Hm, okay. Not sure if this has been changed some time ago.

Well, with a list of all appIDs, you can check them against SteamDB with the usual URL (https://steamdb.info/app/<ID</ )..
Could be done with a simple shell script or something, just one loop and the usual curl & grep..

But there might be a better alternative:

Simply access the Steam Web API in your browser, this should always work if you use your own Wep API key together with the matching User ID. Even if the profile is set to private, I think.

The correct API endpoint is this:

https://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&steamid=yyyyyyyyyyyyyyyyy&format=json&include_appinfo=true

Where key=xxxx... is your Web API key, which you can simply view here: https://steamcommunity.com/dev/apikey
Where steamid=yyyy.. is your steamID64 user ID, which you can get from many places, here e.g. https://steamrep.com/

(The steamid number is the numeric part behind https://steamcommunity.com/profiles/) (Usually starts with "7", I think, maybe not for newer accounts)

You should get a JSON-formatted output of all your games on your account (Format can be changed with the $format=option).

Simply copy that into a file or something, and then process to your own liking..

A simple pretty-printed overview can be created like this, for example: jq '.response.games[]' INPUTFILE.json

(You can test different options/queries with jq here: https://jqplay.org/)

4 years ago*
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 years ago.

4 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.