[C#] Twitch API integrated with Discord Bot - How to?

All API endpoints are cached so the results will always be around 1 to 5 min behind (usually just 1 to 2 min). Also depending on what server deals with your API request the cache can be slightly different, so when you’re polling as frequently as every 5 seconds, you could hit one server that has a more recent result that says a server is live, then 5 seconds later hit a different server that returns a null stream because it just happens to be a bit behind, so polling that frequently wont help you and isn’t recommended.

1 Like