Open DaWenning opened 2 years ago
That id is surprisingly high. The last I have is 519608. The thing is that what I'm doing is getting the last inserted ID and check the next 100 (the max per request) every time. So if Twitch has jumped id too much it's problematic. Unless they jumped to a new start and in that case I need to find it.
There's doesn't seems to be a logic anymore on game id For example : Pokémon Brilliant Diamond/Shining Pearl is 1584745140 while Pokémon Scarlet%2FViolet is 670867987 It seems that they are just putting either a random id or something they doesn't disclose. At that point it seems that the only thing you can do is fetch the game by name in your project and that this list can't be automated anymore. Unless igdb games id are in a row and this can now be used for it.
I wrote a tool to quickly change the stream channel information called 'TwitchControl' . In the api v5 is was ok to give a string for the game name. Now in v6 it wants to have th gameID. I am using Your db to get the IDs, since the api has now search funktion with partial strings or wildcards. But now I saw that important games are missing: F1 22 and the latest F1 23 are streamesd very often and my users would need to chosse those. There is no ID in the db and so You cannot change the channel settonigs via the api.
This is absolutely frutrating... How would I look for a game ID by asking the api with partial strings? How did You retrieve the database?
I simply asked the game endpoint API by passing id from 1 to xxxxxxx. But as you can read in this thread, they changed the way they added games since they are now using another website as database and it's pretty much impossible to get game by the id directly. This is still a pending issue, I didn't take time to look at it since I don't use Twitch API anymore
While copying your gamelist into my database I stumbled across at least one game which is not featured.
When checking the game_id against the Twitch API i get a valid result. The game that i found missing:
1584745140 - Pokémon Brilliant Diamond/Shining Pearl - https://static-cdn.jtvnw.net/ttv-boxart/1584745140-{width}x{height}.jpg
I will report any other i find missing.