Closed spencerjanssen closed 11 years ago
Twitch does provide an API. We just need to figure out the best way to get notifications pushed to us or else have the bot ping the api at intervals.
I have made a post about this on the Twitch API developer list.
https://groups.google.com/forum/?fromgroups=#!topic/twitch-api/6FdagfuaN3A
From feedback, might want to check out: http://apiwiki.justin.tv/mediawiki/index.php/Stream/register_callback
Response from Twitch:
Hey John -
Unfortunately, right now the only public (supported) way to do this is to have the bot check periodically, which is clearly suboptimal.
We have an internal API that lets you listen for "stream up" on a specific stream, but there's no public counterpart yet for you to use.
Can you open an issue on our tracker? https://github.com/justintv/twitch-api/issues
Thanks, Emmett
When certain channels go live (such as scglive or magicprotour), the bot could ping the channel with the stream URL.
Twitch can be configured to send an email when a followed stream goes live. This functionality might be in the Twitch API as well.