Then you need to perform a oAuth loop to get a token you can use with the relevant scopes on it.
if you are truly stuck with the basics of an oAuth loop you can try joining the dev Discord and asking about in the #python room it’s linked from https://dev.twitch.tv/support