You can either poll the streams endpoint
or use webhooks
https://dev.twitch.tv/docs/api/webhooks-guide
Generally for these endpoints you only need a “server to server” access token, also called an “app access token”
You can either poll the streams endpoint
or use webhooks
https://dev.twitch.tv/docs/api/webhooks-guide
Generally for these endpoints you only need a “server to server” access token, also called an “app access token”