Skip to content

LawnCable/gog-get-owned-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get your owned gog games into a json file

first time setup:

virtualenv3 venv3
source venv3/bin/activate

pip install https://github.com/Yepoleb/pygogapi/archive/master.zip

# first run auth.py and follow the instructions:
python auth.py

then run python getgames.py to create owned.json

Also goto https://www.gog.com/account in your browser press F12 and run following snipet in the console.

document.write(JSON.stringify(gogData.accountProducts.map(p=>({id: p.id,image:p.image+"_392.jpg",title:p.title,url:p.url}))))

and paste the resulting text in a second output file, name is up to your choice

you can get only the gamenames from the owned.json file with jq:

cat owned.json | jq -r '(.data)| .[] | select(.title).title'

About

get your owned gog games as json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages