I was able to make my python script once I got the Oauth token. It works and I love it so much! (Its faster than when I update the stream information graphically from my dashboard. lol!) The things I am trying to figure out is how can I add my tags as well and the boxart? I assume the music & performing boxart would have just showed up if I put in the right name but it just showed my title, and game name. Is there any parameters I can use with Update channel that would update the tags and boxart as well?
Here is my python script
from twitch import TwitchClient
client = TwitchClient(client_id=âizbr3e0woto5nlw13belle04zsrtvfâ, oauth_token=âfYOU DON"T NEED THATeâ)
import requests
token = âxYOU DON"T NEED THATodâ;
headers = {âAuthorizationâ:'OAuth â + token,âAcceptâ:âapplication/vnd.twitchtv.v3+jsonâ, âClient-IDâ:âmy_client_idâ}channel = âizbr3e0woto5nlw13belle04zsrtvfâ
updateinfo = {âchannel[status]â : âNes Music all day! (MTVGM Radio)â,âchannel[game]â : âMusic & Performing Artsâ,âchannel[delay]â : â0â}r = requests.put(âhttps://api.twitch.tv/kraken/channels/masterjx9â, headers = headers, params = lmao).raise_for_status()