The following will retrieve a channel
object for the twitch
channel. If the request was successful the channel
object will be logged to the console.
$.ajax({
type: 'GET',
url: 'https://api.twitch.tv/kraken/channels/twitch',
headers: {
'Client-ID': '...'
},
success: function(data) {
console.log(data);
}
});