The project to creating and updating your pile of shame excel document. The list of all games which are waiting to be played at least once.
It connects with your game accounts (like Steam or Epic) and creates a list games. With additional information like how long games was played or how many achievements are missing.
It's also my pet project to experiment with function programming (in Python).
To use Steam API you will need API Key. You can generate one on the Register Steam Web API Key form. The site is asking for domian, but anything seems to work. We will not going to use on page, so enter whaterever you wish.
You alse needs the Steam User ID. The easiest way to find it, is look where View profile link leads (the number part of the URL). The other way are presented on page How to Get Your Steam ID.
We are going to use API method GetOwnedGames
with include_appinfo
paramater. It returns the whole collection of games, the name, time spend on title and achievements if game has them.
Unfortunietly Epic doesn't have API for its game library. There is Unoffical Epic Games Client, but it's not provide get all games. So, we need to improvise.
The only way to get all games in Epic Store is on the Account Transactions page. It is using query: https://www.epicgames.com/account/v2/payment/ajaxGetOrderHistory?page=
.
The respose is JSON:
{
"count": 10,
"orders": [],
"start": 20,
"total": 93
}
We will recived the collection list, but as JSON object. The page JSON-CSV can be usefull here.
There is a API for GOG. But it's required loggin via GOG page. So also we need to use browser to run a script.
Unfortunetly there is not API for Uplay, the list of games is not presented in any form on Uplay web page, or support page. The only thing which can be obtain is the number of own games or last played.