Hey, this is the first time I do something with APIs in general, so don’t be to hard to me pls.
So, i wanted to list all streamers of the game battlerite. But the browser console tells me that one of my variables is undefined but I think it is?
You can see the code on here: http://battlerite-forum.de/stream.html
What do overlook there?
In line 46 you are making the ajax request to a url that returns an object that does not contain a streams array. You probably meant to use https://api.twitch.tv/kraken/streams/?limit=100&game=Battlerite here instead: https://jsfiddle.net/4bzc10ts/
streams
https://api.twitch.tv/kraken/streams/?limit=100&game=Battlerite
You sir, just became a god. Thank you so much <3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.