Recovering Data with Twitch with JS

Asked

Viewed 30 times

1

1 answer

1

A simple way is to make an AJAX request (in the example I am using jquery), follow an example that returns a jsonp:

$.ajax({
     type : "GET",
     dataType : "jsonp",
     url : "https://api.twitch.tv/kraken/channels/beyondthesummit",
     success: function(data){
       console.log(data);

    }
});

Browser other questions tagged

You are not signed in. Login or sign up in order to post.