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

×
Hello

I wanted to know how to extract a list of all games I have in my account so that I can save the list in a word file and can easily search for any game title I own that way.

I am compiling a list of all games that I own across all gaming platforms on a word file so that I can search for any games at one place instead of searching on every gaming platform so avoid buying a game I already own.

I can't copy the list either from the GOG app or the website so wanted to know a way around.
avatar
Techminator: I can't copy the list either from the GOG app or the website so wanted to know a way around.
On your browser, try the instructions, as described by AlsoWik (within the quote below, I have removed the apparently unnecessary mention of altering the 'VIEW AS:' setting).

Note: This procedure must be performed for each page of your library of games.
Go to your games list page.

Open the browser console (F12).

Cut and paste this:

var games = Array.from(document.getElementsByClassName("product-title__text"));
var text = '';
games.forEach(a => text += ("\n" + a.innerHTML));
console.log(text);


You should then be able to copy the list of games from the console window.
avatar
Techminator: I wanted to know how to extract a list of all games I have in my account so that I can save the list in a word file and can easily search for any game title I own that way.
You could try using a command-line tool like LGOGDownloader.
I wonder could someone use this to make a quick tool: https://menu.gog.com/v1/account/licences

This is retrieved when I go to my games and seems like license ids for the games.
avatar
ppavee: I wonder could someone use this to make a quick tool: https://menu.gog.com/v1/account/licences

This is retrieved when I go to my games and seems like license ids for the games.
Yep, and for me it results in the following list of Game IDs.

"4","5","6","7","9","1073977251","1074372977","1074885762","1075009217","1076629028","1077141756","1077893077" ,"etc etc
And if you grab the first Game ID, which is 4 and use the following, you get detail about the game.

https://api.gog.com/products/4?

"id":4,"title":"Descent: Freespace Battle Pack","purchase_link":"https:\/\/www.gog.com\/en\/checkout\/manual\/4","slug":" etc etc
Or to get more detail, you could use the following.

https://api.gog.com/products/4?expand=downloads,expanded_dlcs,description,screenshots,videos,related_products,changelog

However, I don't know of a command that returns just the title.

If you have a lot of games, then you'd have to script a query for each one and also strip out all but the game title.

Personally I'd use gogcli.exe instead, which let's you download each page in your GOG library, with 100 games per page. But you need a cookie.txt file and you still have to strip out unwanted data.