Twitch API data returning undefined [solved]

Twitch API data returning undefined [solved]
0.0 0



I’ve managed to append the data from a single API call and display it in the DOM how I wanted, but since I’m going to need it multiple times to show if they’re online or not, I’ve put it in a function, but this seems to have stopped it from working. I’m now getting some parts, such as the image, working, and others are showing undefined, I have no idea why this has happened and I am stumped. Please help.

Once I’ve displayed it, I was going to put it through a loop to show all the channels, but just wanted to get this right first



Think I’ve solved it, please ignore.