Of course I miss the obvious information at the top of the page… Thank you for pointing me to that.
Regarding the call to it this is what I am sending:
`function get_newtwitchapi_curl($url) {
global $appID, $appSecret;
$curlHeader = array(
"Client-ID: " . $appID,
"Authorization: " . $appSecret
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, $curlHeader);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
curl_close($ch);
return $data;
}`