Check if a streamer is live:
To check if a streamer is live via HTTP, send a GET request to the following endpoint:
https://shsf-api.cottonfieldworkers.shop/api/exec/6/22b5d292-ccf1-473b-8838-4db550d6a1e6/check?streamer=STREAMER_NAME
Replace STREAMER_NAME
with the name of the Twitch streamer you want to check.
Example:
https://shsf-api.cottonfieldworkers.shop/api/exec/6/22b5d292-ccf1-473b-8838-4db550d6a1e6/check?streamer=shsf
The response will be a JSON object indicating whether the streamer is live or not.
Example Response:
{ "state": true }