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 endpoint that can give me a current broadcasts information, but that doesn’t help me if the stream is offline.
Is there a way to get last broadcasted/current game of a stream?