API access to twitch.tv/directory/game

It seems the only way to get a list of streams for a particular game it so make a query to /search/streams?q=Game%20Name. However, this can end up in getting a ton of completely unrelated games. For example, at the time of writing, a query to https://api.twitch.tv/kraken/search/streams?limit=100&q=Project%20M would ideally give only results the game of “Project M” but it gives all sorts of things, like “Hatsune Miku: Project DIVA F 2nd”. I also tried /search/streams?q=Game%20Name&game=Game%20Name, but that seemed to not change the result in any way.

What I’m looking for is the streams contained on the directory page for the game, like http://www.twitch.tv/directory/game/Project%20M which shows only the streams which have the game specified. Is this possible from the API or is it missing functionality?

https://api.twitch.tv/kraken/streams?game=Project%20M

Argh, I swore I tried that and it didn’t work. Thanks!

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