The API client actually does something useful now
What works currently?
- Getting list of available games
- Getting detailed list of available games
- Regex filtering of games
- Batch downloading
- Automatic download directory creation
- Continuing unfinished downloads
What is missing?
- Repair support
- Cover downloading
- XML creation
- Update check
- Downloading individual files by name or id number
It uses the account page to get the games user has because GOG has not yet implemented the "get_user_games" part of the API
Config and cookie files are saved to ~/.gogdownloader/
Here's what you need to compile it
libcurl4-openssl-dev liboauth-dev libjsoncpp-dev libhtmlcxx-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options-dev
libcurl4-nss-dev also works
I haven't tested libcurl4-gnutls-dev but I'm assuming that it works
http://sites.google.com/site/gogdownloader/gogdownloader-api-r29.tar.gz