DISCLAIMER: This is a WIP. The scripts and github action works but are undocumented for now.
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.
-
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
-
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
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.
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.
- Update readme with setup instructions
- Choose a license
- Use arguments to pass game list
- Move Twitch app ID to environment variable
Full time indie gamedev ๐ฎ
If you enjoyed this project and want to support me:
TODO