ive been trying to setup a simple page to access top clips, im stuck on this…
ive been trying to follow this reference / clips
 <?php
 $clipsApi = 'https://api.twitch.tv/kraken/clips/top?channel=MYTWITCHNAME&period=month&trending=true&limit=1';
 $clientId = 'MYCLIENTID';
 $ch = curl_init();
 curl_setopt_array($ch, array(
 CURLOPT_HTTPHEADER => array(
 'Client-ID: ' . $clientId
),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_URL => $clipsApi 
 ));
 $response = curl_exec($ch);
 echo curl_error($ch);
 curl_close($ch);
 $json = json_decode($response, true);
 echo $json['name'];
 ?>