claabs / epicgames-freegames-node

Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.
https://hub.docker.com/r/charlocharlie/epicgames-freegames
MIT License
1.33k stars 91 forks source link

[Question] SearchStrategy all #210

Closed Tiippex closed 2 years ago

Tiippex commented 2 years ago

What's the idea behind the "all" strategy? Should that enable claiming of all free games from epic games?

e.g. Rocket League

claabs commented 2 years ago

Details on each strategy here: https://claabs.github.io/epicgames-freegames-node/enums/SearchStrategy.html

The search strategy names are kind of messy. all was originally unimplemented, but was recently changed to just be promotion + weekly.

There is a feature request to redeem all free games (#22), and I did find a way to query the catalog for all free games (Rocket League, etc) and added support for it here: https://github.com/claabs/epicgames-freegames-node/commit/5277c2406201f30f0e4e3aac1839dd3c890a998c. However, in testing it has a lot of trouble during purchase due to DLC prerequesites and whatnot. In the end, it's not exposed to be used by users because in my opinion, it's kind of crazy to add all the forever free games to your library.

Tiippex commented 2 years ago

Oh okay, I agree. Thanks for the explanation!