Monitor an Advent of Code leaderboard continuously and report earned stars via WhatsApp.
Advent of Code is an Advent calendar made by Eric Wastl . It is made of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.
Every 30 minutes the program iterates over all available years (events) of a private leaderboard, fetches its data and compares it to previously fetched data. Any detected changes are being sent with PyWhatKit to a specifiable WhatsApp group chat.
- Make sure to have the needed python packages in
requirements.txt
installed on your machine - Have a look at
connect.example.csv
, edit the connection details and rename the file toconnect.csv
. You need to provide your leaderboard id which you can find at the end of its URL, your AOC session cookie and the WhatsApp group chat id you would like to send the messages to. - Run
main.py
. During its first run, the program will automatically initialize all leaderboard csv files in/leaderboards
.