$channelsApi21 = 'https://api.twitch.tv/helix/streams?first=100&language=de&game_id=';
$ch21 = curl_init();
curl_setopt_array($ch21, array(
CURLOPT_HTTPHEADER => array(
'Client-ID: ' . $clientId,
'Authorization: Bearer ' . $keys->access_token
),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_URL => $channelsApi21 . $gameID1
));
$response21 = curl_exec($ch21);
$resp1X = json_decode($response21);
$pageXX = $resp1X->data[0]->pagination;
echo "PAGE: $pageXX";
so far this returns nothing?