Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.63 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.63 KB

twitch-game-status-update.py

Simple script, that help you update your game and status w/o going to twitch dashboard

Libs used:

Usage:

  1. First of all, you will create your application. Go to dev.twitch.tv and create one. If you going to use tokengen (recomended) - set OAuth Redirect URL to https://twitchapps.com/tokengen/. In other cases - http://localhost

  2. Now you need get OAuth token, i recommend you to use tokengen. As scopes use channel_read channel_editor. In other cases, you can use The official twitch dev docs.

  3. Test your client_id and oauth_token using try_config.py. Set the variables and run script.

  4. Edit .twitch.cfg and copy them to your homedir and python settings dir, if needed. My directory with python settings is D:\WinPython\settings. For homedir in windows type %userprofile% to windows explorer. For more correct homedir finding and testing, run your python in command line and type these, the output will be your homedir for running python scripts:

import os
print(os.path.expanduser('~'))
  1. Edit dota2.bat for automatic changing game and description while running game script. Debug it with cmd.

  2. Happy Streaming.