You are requesting Helix, but using the Kraken Data pattern to parse the result
Finally, the streams API will let you look up 100 streams at once, and it’ll only return those that are live. You can take the response and compared that with your Names array if you want to show a offline message.
Which may catch you out on some streams, and you probably want to convert to user_id’s so you don’t have to update your names array if/when someone changes their Twitch username
Finally, finally, as per
You will need to update your code to use an oAuth token, which in this case will probably work best with an App Access Token (aka Server to Server)