Api bug, offset search not working properly anymore

This worked before, but it is now randomly broken, example:

https://api.twitch.tv/kraken/search/games?query=resident&limit=13&offset=0

[{“name”:“Resident Evil 2”,“popularity”:19560,"_id":490868,“giantbomb_id”:50601,“box”:{“large”:“https://static-cdn.jtvnw.net/ttv-boxart/Resident%20Evil%202-272x380.jpg",“medium”:“https://static-cdn.jtvnw.net/ttv-boxart/Resident%20Evil%202-136x190.jpg”,“small”:“https://static-cdn.jtvnw.net/ttv-boxart/Resident%20Evil%202-52x72.jpg”,“template”:“https://static-cdn.jtvnw.net/ttv-boxart/Resident%20Evil%202-{width}x{height}.jpg”},"logo”:…

https://api.twitch.tv/kraken/search/games?query=resident&limit=13&offset=12

[{“name”:“Resident Evil 2”,“popularity”:3426,"_id":490868,“giantbomb_id”:50601,“box”:{“large”:“https://static-cdn.jtvnw.net/ttv-boxart/Resident%20Evil%202-272x380.jpg",“medium”:“https://static-cdn.jtvnw.net/ttv-boxart/Resident%20Evil%202-136x190.jpg”,“small”:“https://static-cdn.jtvnw.net/ttv-boxart/Resident%20Evil%202-52x72.jpg”,“template”:“https://static-cdn.jtvnw.net/ttv-boxart/Resident%20Evil%202-{width}x{height}.jpg”},“logo”:{“large”:“https://static-cdn.jtvnw.net/ttv-logoart/Resident%20Evil%202-240x144.jpg”,“medium”:“https://static-cdn.jtvnw.net/ttv-logoart/Resident%20Evil%202-120x72.jpg”,“small”:“https://static-cdn.jtvnw.net/ttv-logoart/Resident%20Evil%202-60x36.jpg”,“template”:“https://static-cdn.jtvnw.net/ttv-logoart/Resident%20Evil%202-{width}x{height}.jpg”},“localized_name”:"Resident Evil 2”,“locale”:""},{“name”:“Resident Evil 7 biohazard”,“popularity”:892,"_id":492934,“giantbomb_id”:54231,“box”:{"…

The sorting isnt working anymore correctly, mixing games which shouldnt be in the list at all. Like here it is basically the same and offset is ignored.

Looking at the docs for that endpoint https://dev.twitch.tv/docs/v5/reference/search/#search-games it appears limit and offset params that you’re using are not even intended to be querystring params. Using any params not specifically documented is not guaranteed to work, and even if they work at some point they may not always be supported.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.