Open pete-oconnell opened 7 months ago
I'm using the following API call to retrieve a game with uid T41401D 50
:
https://api.thegamesdb.net/v1/Games/ByGameUniqueID?apikey=XXX&fields=overview,uids&include=boxart&filter%5Bplatform%5D=16&uid=T41401D%2050
The game in question is Soul Fighter (PAL) but the call returns 0 records.
Looking at the code it does seem to filter out space characters from the uid: https://github.com/TheGamesDB/TheGamesDBv2/blob/df83194004b5e62fd2a810d595415f2559e16c97/include/TGDB.API.php#L463
This was reported previously and appears to have been resolved with a regex pattern of (MK(-| |)\d{5}((-| |)\d{2}([A-Z]|)|)) being used.