https://codepen.io/Vladimir-Baliuk/pen/JJwwKV


#1

Hello! I’m stuck on the Twitchtv project here is a link https://codepen.io/Vladimir-Baliuk/pen/JJwwKV to my work. Help me figure out with getJSON (…) how to get the data from the answer?


#2

Hi there - just a quick note putting links in the title is a good way to get the post caught in the spam filter - please write a title rather than using the link next time. That being said the proper way to get a json key is as followed:

$(document).ready(function() {
$.getJSON("https://wind-bow.glitch.me/twitch-api/", function(json) {
return json["key"]; // replace key with the key you are trying to access.
});
}

Let us know if you have further questions :slight_smile: