Connect with Twitch [user_subscriptions]

The API returns a JSON object. You will most likely have to convert the JSON object into an object the language understands (such as PHP’s json_decode()) before you can access those values. If the “status” value of the object is set, don’t give access and maybe display the “error” value. You can use any of the other values to verify if the user is subscribed (such as “_id” or “created_at”).