Twitch helix getting online or offline status

The code you already have should work fine for kraken. That you posted

However most people have moved over to helix so support for kraken will be less.

Bumping yoru own topic doesn’t helper either.

What are you not sure about.

Again wouldn’t recommend it

Twitch API’s have moved to needing auth, so you either need a user token or a backend.
As I answered in my original reply

So when you say

What do you actually want help with since you didn’t ask a clear question