Open tkashkin opened 3 years ago
From a user perspective 1. is the best. The 4. option requires some serious willpower to get through the hassle.
Are there other services which provide similar information and are viable? A quick search showed me https://rawg.io/apidocs - https://api.rawg.io/docs/#operation/games_read
Free for personal use as long as you attribute RAWG as the source of the data and/or images and add an active hyperlink from every page where the data of RAWG is used. Free for commercial use for startups and hobby projects with not more than 100,000 monthly active users or 500,000 page views per month.
Are there other services which provide similar information and are viable? A quick search showed me rawg.io/apidocs - api.rawg.io/docs/#operation/games_read
Looks interesting and I'll think about integrating it.
But it doesn't really solve the problem: client bundles API keys it ideally shouldn't.
A server to manage keys, proxy and cache requests is the proper solution, but it raises a few questions:
Currently there is no other functionality that may require a server.
If there is a server:
localhost
or allowing to set all API keys in the app and continuing to work as it does now
IGDB was acquired by Twitch and new IGDB API is now part of Twitch API, so it now uses Twitch API authentication.
Basically this means that GameHub can't include an API key and should either have a server to proxy requests or require end user to create a new app on Twitch and use an app token to call IGDB API. Both of these options seem inconvenient.
Here is the message I sent to the IGDB Discord at the time they were deprecating v3 API:
Answer:
I'm not sure what to do, option 4 seems to be the best, but it will be inconvenient for the users.