MrEliptik / game_notifier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Python 100.0%