Pulling "recent" Clips or Putting them in chronological order


#1

I would like to pull from the most recent clips on one particular channel. Is there a way to do this through the Twitch API or would I have to pull all(or the past 20 to reduce risk for throttle) and organize them chronologically that way? My code is below for what I have so far, if that helps.

var httpRequest = new XMLHttpRequest();

httpRequest.addEventListener('load', clipsLoaded);
httpRequest.open('GET', 'https://api.twitch.tv/kraken/clips/top?channel=ninja&sort=time');
httpRequest.setRequestHeader('Client-ID', '---------');
httpRequest.setRequestHeader('Accept', 'application/vnd.twitchtv.v5+json');
httpRequest.send(null);

function clipsLoaded(data) {
  var clipsDisplay = document.getElementById('clips-display'),
  clipList = JSON.parse(httpRequest.responseText);
  console.log(clipList);

#2

With broadcaster_id

After collection you can sort them however you want