# Game\_id from /users?

**URL:** <https://discuss.dev.twitch.com/t/game-id-from-users/15696>\
**Category:** API\
**Created:** [May 9, 2018, 5:16pm UTC](https://discuss.dev.twitch.com/t/game-id-from-users/15696 "2018-05-09T17:16:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maeglin](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/maeglin/32/1166_2.png) [@Maeglin](https://discuss.dev.twitch.com/u/Maeglin)\
**Post date:** [May 9, 2018, 5:16pm UTC](https://discuss.dev.twitch.com/t/game-id-from-users/15696/1 "2018-05-09T17:16:51Z")

</div>

With the v5 API, I regularly hit the /channels endpoint to get the game that a streamer was previously playing when I do a shoutout. If I get a host notification, that happens automatically if they’re whitelisted. With the new API, there’s no way to get that information unless the person is currently streaming, which is not helpful in the case of a host or raid.

If not /users, then perhaps /videos? Looking at the site, there seems to be an association between VODs and game IDs in the database, but the only endpoint aside from /streams that exposes it is /clips.

---

<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:** [May 9, 2018, 6:09pm UTC](https://discuss.dev.twitch.com/t/game-id-from-users/15696/2 "2018-05-09T18:09:04Z")

</div>

This issue is noted in the threads

> [@Helix API changes from Kraken - data missing](https://discuss.dev.twitch.com/t/helix-api-changes-from-kraken-data-missing/12856):
>
> Hey everyone, Discovering the new Helix API at the moment, and I couldn’t help but notice some nasty changes from the Kraken API. PS: the following examples are taken on the channel lirik. Channels /kraken/channels/lirik { "mature": false, "status": "Next Stream: Wednesday @ NOON EST / 5pm GMT ", "broadcaster\_language": "en", "display\_name": "LIRIK", "game": "Star Wars Battlefront II", "language": "en", "\_id": 23161357, "name": "lirik", "created\_at":…

> [@Accessing last game played on offline channel](https://discuss.dev.twitch.com/t/accessing-last-game-played-on-offline-channel/15036):
>
> Good day! I am trying to achieve a way to fetch stream informations, and as long as it’s still live, it’s fine. But if the stream is offline, the data is empty (which is logical). Is there any endpoint I did not noticed, that allows to ask “what was the previous stream” ? or "What is the currently selected game for this user’s channel, even though he is offline ? (In HELIX endpoint) Use case example: User A finishes stream, hosts user B with X viewers, as a good mod of B, he shoutout, i’d li…

> [@Get Last Broadcasted Game (Helix)](https://discuss.dev.twitch.com/t/get-last-broadcasted-game-helix/13890):
>
> Hey guys! I’m working on Migrating my bot from ApiV5 to the new Helix API. What I’m trying to do is get a streamers last broadcasted game. In the past I could just get the channel object and it would have their last broadcasted game or current, depending if they were live or not at the time of request. The main reason for this functionality is for my bot to be able to shoutout another streamers stream if they hop into another streamers channel, upon the streamers request. So far I see a [stream…](https://dev.twitch.tv/docs/api/reference#get-streams)

> [@Helix - Data from offline streams?](https://discuss.dev.twitch.com/t/helix-data-from-offline-streams/14341):
>
> In the past, we were able to fetch informations about the last stream (game name / id, stream title, etc.), even if the given user is currently not streaming. This information seems to be gone. Are there plans to re-implement this information? Or do we have to build our own caches for that?

Currently either check v5 instead, do some magic with the last/most recent VOD for the user/channel or stay tuned to the Roadmap for updates:

https://trello.com/b/xdoVhmKj.html

Helix should have feature parity with v5 before everything flips over!

---

<div class="post-metadata">

**Author:** ![Maeglin](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/maeglin/32/1166_2.png) [@Maeglin](https://discuss.dev.twitch.com/u/Maeglin)\
**Post date:** [May 9, 2018, 6:14pm UTC](https://discuss.dev.twitch.com/t/game-id-from-users/15696/3 "2018-05-09T18:14:36Z")

</div>

Ah, for some reason when I searched I didn’t find any of those.

Here’s hoping it has feature parity, as that seems like a glaring omission. In the meantime, I can indeed use the v5 /channels endpoint for that one function. Good thing the new bot’s code is modular 🙂

---

<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:** [June 8, 2018, 6:14pm UTC](https://discuss.dev.twitch.com/t/game-id-from-users/15696/4 "2018-06-08T18:14:37Z")

</div>

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