Twitch API data returning undefined [solved]

Hi,

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.

https://codepen.io/KUBIX90/pen/VyXdxV

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

Thanks
Mark

Think I’ve solved it, please ignore.