Git Product home page Git Product logo

circbot's Introduction

CircBot

YouTube LiveStream Chatbot

Quickstart

  1. Make sure Python 2.7 with pip is installed (Python 3 should work but hasn't been tested)
  2. pip install configparser oauth2client httplib2 requests
  3. Make a new project with the Google API Console and enable the Youtube Data API.
  4. Add OAuth API credentials, download the JSON file and save it as client_secrets.json in the project folder
  5. Run auth.py ("python auth.py"), approve the OAuth request in your webbrowser, and copy the auth code to the console
  6. clear the console ("cls" in Windows)
  7. Start the stream so that the bot can fetch the live chat identifier
  8. Run main.py ("python main.py")

Related Documentaion and Links

https://developers.google.com/youtube/v3/live/docs/liveChatMessages https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/list https://developers.google.com/youtube/v3/live/getting-started
https://developers.google.com/api-client-library/python/auth/installed-app

http://docs.python-requests.org/en/latest/user/quickstart/

circbot's People

Contributors

compujo 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.