# Is it possible to get the ID or list of all non-game related categories created by Twitch (Just Chatting, Art, etc)?

**URL:** <https://discuss.dev.twitch.com/t/is-it-possible-to-get-the-id-or-list-of-all-non-game-related-categories-created-by-twitch-just-chatting-art-etc/43321>\
**Category:** API\
**Created:** [February 4, 2023, 12:53am UTC](https://discuss.dev.twitch.com/t/is-it-possible-to-get-the-id-or-list-of-all-non-game-related-categories-created-by-twitch-just-chatting-art-etc/43321 "2023-02-04T00:53:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kikimora](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@kikimora](https://discuss.dev.twitch.com/u/kikimora)\
**Post date:** [February 4, 2023, 12:53am UTC](https://discuss.dev.twitch.com/t/is-it-possible-to-get-the-id-or-list-of-all-non-game-related-categories-created-by-twitch-just-chatting-art-etc/43321/1 "2023-02-04T00:53:24Z")

</div>

Is it possible to get the ID or list of all non-game related categories created by Twitch (Just Chatting, Art, etc)?

---

<div class="post-metadata">

**Author:** ![EchtkPvL](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/echtkpvl/32/22405_2.png) [@EchtkPvL](https://discuss.dev.twitch.com/u/EchtkPvL)\
**Post date:** [February 4, 2023, 9:42am UTC](https://discuss.dev.twitch.com/t/is-it-possible-to-get-the-id-or-list-of-all-non-game-related-categories-created-by-twitch-just-chatting-art-etc/43321/2 "2023-02-04T09:42:31Z")

</div>

Very interessting request, would love to see the result 😀  
The only way I know is by checking the category ids for an `igdb_id`:

> **[Reference](https://dev.twitch.tv/docs/api/reference/#get-games)**
>
> Twitch Developer tools and services to integrate Twitch into your development or create interactive experience on twitch.tv.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 4, 2023, 9:52am UTC](https://discuss.dev.twitch.com/t/is-it-possible-to-get-the-id-or-list-of-all-non-game-related-categories-created-by-twitch-just-chatting-art-etc/43321/3 "2023-02-04T09:52:36Z")

</div>

> [@EchtkPvL](#):
>
> The only way I know is by checking the category ids for an `igdb_id`:

However some games are missing their IGDB ID’s

> [@kikimora](#):
>
> Is it possible to get the ID or list of all non-game related categories created by Twitch

There is not simple way to achieve this.

All games _should_ have a `igdb_id` but in many cases won’t.  
Either from the game being manually created, or it’s a tool that was added to the categories list and not present on IGDB, or it’s one of the non game categories such as Just Chatting.

So why do you need/what is your use case for the non game categories, this will help us point you in the right direction.

---

<div class="post-metadata">

**Author:** ![kikimora](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@kikimora](https://discuss.dev.twitch.com/u/kikimora)\
**Post date:** [February 4, 2023, 5:00pm UTC](https://discuss.dev.twitch.com/t/is-it-possible-to-get-the-id-or-list-of-all-non-game-related-categories-created-by-twitch-just-chatting-art-etc/43321/4 "2023-02-04T17:00:44Z")

</div>

I would like to make a command for a chatbot that allows moderators to change the category. At the same time, allow moderators to enter short names for some categories and so that the bot can correlate these names with the full ones.

The problem for me is that the game IDs have to be looked up in IGDB, and the categories created by twitch have to be looked up through the query “[https://api.twitch.tv/helix/search/categories?query=](https://api.twitch.tv/helix/search/categories?query=)”, which, from - due to the features of the search, it can return a lot of “garbage” categories.

Actually, I thought that perhaps there is a better way to get the data you need, but apparently there is no such way. Therefore, I will be guided by igdb\_id. Thanks for answers.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 4, 2023, 6:10pm UTC](https://discuss.dev.twitch.com/t/is-it-possible-to-get-the-id-or-list-of-all-non-game-related-categories-created-by-twitch-just-chatting-art-etc/43321/5 "2023-02-04T18:10:26Z")

</div>

> [@kikimora](#):
>
> I would like to make a command for a chatbot that allows moderators to change the category. At the same time, allow moderators to enter short names for some categories and so that the bot can correlate these names with the full ones.

That would trip up gloriously on things like Pokemon.

I find these days if you don’t know the exact name of the game you want then a bot command has a lot of limitations.

Sure you can create and store alias’s, but that would require an external dashboard to create those.

Personally I feel that a bot command for setting a game is too limiting, due to the lack of UI space for effective “search for a category”

Even just removing “Just Chatting”/etc from the pool doesn’t help here, since theres often a lot of games with similar names so can easily mis match too easily.

Even more so for “hand of godded” games that were since those are often similar names, or in the example of pokemon, each generation is two games, but twitch will group them together into one category.

Or recently hitman, do you mean hitman 1,2,3, or the bundle world of Assassination? Using a bot command with a shorter name hoping to match the right thing will only go so far I feel, so if you did `!changegame hitman` that would hit too many games, (similar issues would exist with other games just an example I thought of, off the top of my head)

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [March 6, 2023, 6:11pm UTC](https://discuss.dev.twitch.com/t/is-it-possible-to-get-the-id-or-list-of-all-non-game-related-categories-created-by-twitch-just-chatting-art-etc/43321/6 "2023-03-06T18:11:03Z")

</div>

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