[Python] Function to get Twitch Channel ID

Ok. Now I think I’m getting it. I created a new token with scope “channel_read”, I checked the scope in https://api.twitch.tv/kraken?oauth_token=mytoken and I saw scope is correctly defined.
But still, I am getting the Unauthorized error.