Thanks for your answer.
So, I don’t need to add scope to my url? I added that before because I was getting HTTP Error 404: not found.
I just modified my url so it would look like:
url = "https://api.twitch.tv/kraken?oauth_token="+CHANNEL_OAUTH+""
But I am still getting Error 404. I already tried to go to the url and it works, telling me that the scope is “chat_login”, which I suppose is fine.
I really don’t understand what I’m doing wrong.