<?php
$headers = ['Client-ID: CLIENT_ID_HIER',];
$handle = curl_init('https://api.twitch.tv/helix/streams?user_login=STREAMER_NAME_HIER');
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($handle, CURLOPT_HTTPHEADER, $headers);