It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
zahroc: Is there a documented copy of the web api that is used in lgogdownloader?
Just wondering how to know that https://www.gog.com/user/data/games gives a list of games by ID, etc
TIA!
Here's documentation that Yepoleb wrote
https://gogapidocs.readthedocs.io/en/latest/
avatar
zahroc: Is there a documented copy of the web api that is used in lgogdownloader?
Just wondering how to know that https://www.gog.com/user/data/games gives a list of games by ID, etc
TIA!
avatar
Sude: Here's documentation that Yepoleb wrote
https://gogapidocs.readthedocs.io/en/latest/
Thank you!
Maybe someone else can help...
Got the following error code:

'cren@server:~$ lgogdownloader --download --directory ~/cryptexternal/gog-installer/ --limit-rate 25000
Getting game names (4/4) 92 / 92
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_replace
Aborted (core dumped)'

Running on odroid m1s (ARM single board computer) under Ubuntu Server 20.04 LTS (headless)
Also added to an open ticket on github, but I'll edit my post there if something comes out of here.
avatar
CrenVerdis: Maybe someone else can help...
Got the following error code:

'cren@server:~$ lgogdownloader --download --directory ~/cryptexternal/gog-installer/ --limit-rate 25000
Getting game names (4/4) 92 / 92
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_replace
Aborted (core dumped)'

Running on odroid m1s (ARM single board computer) under Ubuntu Server 20.04 LTS (headless)
Also added to an open ticket on github, but I'll edit my post there if something comes out of here.
What version are you using?
I hope you're not trying to use the version from Ubuntu 20.04 repositories because it is really old (version 3.5 which is from 2019)

Since the output is starting with "Getting game names" it is at most version 3.16.
Version 3.17 had some minor changes to getting game names and details so update to version 3.17 to see if it fixes the issue.
avatar
CrenVerdis: Maybe someone else can help...
Got the following error code:

'cren@server:~$ lgogdownloader --download --directory ~/cryptexternal/gog-installer/ --limit-rate 25000
Getting game names (4/4) 92 / 92
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_replace
Aborted (core dumped)'

Running on odroid m1s (ARM single board computer) under Ubuntu Server 20.04 LTS (headless)
Also added to an open ticket on github, but I'll edit my post there if something comes out of here.
avatar
Sude: What version are you using?
I hope you're not trying to use the version from Ubuntu 20.04 repositories because it is really old (version 3.5 which is from 2019)

Since the output is starting with "Getting game names" it is at most version 3.16.
Version 3.17 had some minor changes to getting game names and details so update to version 3.17 to see if it fixes the issue.
Yeah it was. I added that to my reply on github, but I had to build it. Problem was that 20.04 is stuck on cmake 3.14 (? I think?) So I had to manually update cmake to build lgogdownloader anew. Since then it works. Maybe add a tip/hint/caution NOT to use the distros repos, although I have to admit this is on me for not following the instructions and trying to shortcut via distro repo.
Thanks for the quick response though! :)
avatar
CrenVerdis: Maybe add a tip/hint/caution NOT to use the distros repos, (…)
On an up-to-date LTS Ubuntu, LGOGDownloader 3.12 is provided, not the 3.5 version.

Here I am not using the 3.12 build but the 3.15 one and it still works nicely (on a Debian Bookworm, backported from when the 3.15 build was provided in Debian Sid), so in my experience you do not need the latest build for basic use.
Post edited 2 days ago by vv221
avatar
CrenVerdis: Maybe add a tip/hint/caution NOT to use the distros repos, (…)
avatar
vv221: On an up-to-date LTS Ubuntu, LGOGDownloader 3.12 is provided, not the 3.5 version.

Here I am not using the 3.12 build but the 3.15 one and it still works nicely (on a Debian Bookworm, backported from when the 3.15 build was provided in Debian Sid), so in my experience you do not need the latest build for basic use.
It required a higher cmake version than that was installed by default. I used this as an opportunity to learn more about Linux as I did a full switch last year and I and I thus far only used rolling releases.

I was able to build it from source and learned about how to properly handle that situation. :)