justintv / Twitch-API

A home for details about our API
www.twitch.tv
1.72k stars 381 forks source link

Identifier for game or show in GET /games/top #617

Open PomegranateApps opened 7 years ago

PomegranateApps commented 7 years ago

If I get a list of the top games it also returns channels like "Gaming Talk Shows" or "Creative". Could you add some kind of identifier to know whether a game is actually a game and not a show or other channel?

bashtech commented 7 years ago

Twitch doesn't distinguish between them. Creative and Gaming Talk Shows are just "games" that were added to the directory manually to allow users to categorize themselves. Your best bet would be to manually whitelist certain "games" you want to exclude from your app. You could also exclude "games" with a giantbomb_id of 0 however that will also exclude other manually added "games" such as Starcraft II, Poker, Super Mario Maker, and some others.

On Wed, Sep 21, 2016 at 5:38 PM desapi notifications@github.com wrote:

If I get a list of the top games it also returns channels like "Gaming Talk Shows" or "Creative". Could you add some kind of identifier to know whether a game is actually a game and not a show or other channel?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/justintv/Twitch-API/issues/617, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG3vPMzIuM2y5s1Sw7CeJTzWtJwSKHKks5qsaPJgaJpZM4KDTpn .

PomegranateApps commented 7 years ago

I understand but there still should be some identifier to distinguish them. The problem with white listing is if you add more of these shows. I just want to pull up a list of top video games and not include shows.