mods.json generator script #128
Edremon
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created a small script to generate mods.json. I made two versions: one using the Steam Web API and another using the Steam client Python implementation. The former is simpler but lacks upvotes, downvotes, num_children, and score. Additionally, if the mod is unlisted, the Web API won't provide any data. The latter requires https://github.com/solsticegamestudios/steam and has a higher chance of breaking.
You can find both versions here: https://gist.github.com/Edremon/a1f326f84314b3eeacb8cef0c64f6ae1. To use it just call the script with steam_settings path as argument.
Beta Was this translation helpful? Give feedback.
All reactions