Getting notifications when streamers goes live


As the title says, I need to listen for notifications when streamers of my choosing goes live. Looking throughout the documentation, I’ve found the PubSub page. The first example there says: A broadcaster goes online:

So, I assume it is possible. The page says I will need to use webhooks or WebSockets. Going to the Twitch API Reference, there is no “Going Live” event.

Am I missing something?
Summarizing, I would like to:

  1. Receive notification when a streamer goes online
  2. Check if a streamer is online

Here you go:

1 Like

Thank you so much.
If you don’t mind, could you help me showing where I can find example using websockets in Python? The solutions I find on the web uses something different. I’m kinda lost to how to start the code structure.