API Authentication in JS

Is incorrect

For a username it’s

XML.open(“GET”, “https://api.twitch.tv/helix/streams/?user_login=sugarincubes”)

Please read the docs and what we wrote here