Retrieving top clips from game "Pools, Hot Tubs, and Beaches"

Hi there!
Top clips from game Pools, Hot Tubs and Beaches doesn’t work depending on certain params:

works: https://api.twitch.tv/kraken/clips/top?trending=false&game=Pools, Hot Tubs, and Beaches&period=month

but when I change trending or period, API always returns empty array and empty cursor.
Works great with other games.

doesn’t work: https://api.twitch.tv/kraken/clips/top?trending=false&game=Pools, Hot Tubs, and Beaches&period=day
doesn’t work: https://api.twitch.tv/kraken/clips/top?trending=true&game=Pools, Hot Tubs, and Beaches&period=week

Am i doing something wrong?

kraken/v5 is deprecated

consider moving to helix instead

As to your problem, the issue is likely that you didn’t URL encode the game name, which causes fun problems

Thanks for the fast reply! helix doesn’t allow me to obtain clips easily. Iters on a lot of clips, limited by 99 for each request is really frustrating considering it’s capped too. Investigating on the issue, it looks like commas are recognized are separators so if “Pools, Hot Tubs, and Beaches” is chosen as game, kraken returns clips for “Pools” game. I then tried to replace commas with its url encoded version (%2c) without any result, since % is probably seen as a separator too.

To be sure it’s not a category problem, i requested clips from the new api and it works, but as i mentioned before, there is much less filtering potential on new api.

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