EventSub will be nicer for you.
Saves you hammering the API and Twitch will “phone you” when a stream goes live/offline