Check user's stream status in Game Maker: Studio

I am making a game with Game Maker: Studio that has to deal with users who stream on Twitch. In the info section of my game, I want to be able to display the streamer’s online status (online vs. offline). I can use an if statement to show a different graphic depending on if they are or are not live, but what code would I put in the if statement? if this is even possible.

Thanks

It’s certainly possible, though nobody here probably has code for you to just copy/paste into your game.

You would need to call Twitch’s Kraken API, specifically the streams endpoint: https://github.com/justintv/Twitch-API/blob/master/v3_resources/streams.md

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