Giter Site home page Giter Site logo

game_notifier's Introduction

Game notifier

DISCLAIMER: This is a WIP. The scripts and github action works but are undocumented for now.

youtube-check

Two python scripts to check Twitch and Youtube for livestreams and videos about a game running on GitHub action to send the result with a Discord Bot.

๐Ÿงฐ Setup

๐ŸŸฃ Twitch

  • Step 1 - Create a Twitch application

    • TODO
  • Step 2 - Create a Discord bot

    • TODO
  • Step 3 - Setups GitHub env variables

    • TODO
  • Step 4 - Setup the GitHub action

    • TODO

๐Ÿ“น Youtube

  • Step 1 - Get a YouTube API key

    • TODO
  • Step 2 - Create a Discord bot

    • TODO
  • Step 3 - Setups GitHub env variables

    • TODO
  • Step 4 - Setup the GitHub action

    • TODO

โš™๏ธ How it works

๐ŸŸฃ Twitch

The python script calls the Twitch API to get the livestreams in a category. It compares the result with the latest run, stored in streams_list.json to check if there are new livestreams to announce.

If new streams should be announced, it connects to the Discord API to send a message in a specific channel.

๐Ÿ“น Youtube

The python scripts calls the YouTube API to get the new videos after a certain date. The date is read from the last run, and corresponds to the last video found.

It checks to see if there are new videos and if there are, it sends the new videos using the Discord API in a specific channel.

๐Ÿ“ TODO

  • Update readme with setup instructions
  • Choose a license
  • Use arguments to pass game list
  • Move Twitch app ID to environment variable

About me

Full time indie gamedev ๐ŸŽฎ

If you enjoyed this project and want to support me:

Buy Me a Coffee at ko-fi.com

LICENSE & Credits

TODO

game_notifier's People

Contributors

actions-user avatar mreliptik avatar

Watchers

 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.