Code Monkey home page Code Monkey logo

twitch-game-status-update.py's Introduction

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.

twitch-game-status-update.py's People

Contributors

ungaminga avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.