What happened today?

Hi ereveyone,

I have a little script to display streamers of a game (Football Manager) in my website.

Today, the script doesn’t work. Any changes ?

$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => “https://api.twitch.tv/helix/streams?game_id=514816&language=fr&first=15”,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “GET”,
CURLOPT_HTTPHEADER => array(
“Client-ID: XXXXXXXXXXXXX”,),));
$response = curl_exec($curl);
curl_close($curl);
$results = json_decode($response,true)[‘data’];
count($results);

Ok nice, the best time for maintenance for me, service down from 20h in total evening. It’s up now, thankx.

The “test window” was the last four hours.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.