Polls vaccination centers for available dates and sends a telegram message if found. It's possible to configure multiple vaccination centers that get updated to multiple telegram groups.
Copyright (C) 2021 Denis Meyer
- Python 3
- Windows
- Add Python to PATH variable in environment
- Create a token ** https://t.me/botfather ( https://core.telegram.org/bots#6-botfather )
- Get chat ID ** Add the Telegram bot to the group ** Get the list of updates for your BOT: https://api.telegram.org/bot/getUpdates ** Look for the "chat" object
- Fill in the token and chat ID in Main.py
- Start shell
- Windows
- Start shell as administrator
Set-ExecutionPolicy Unrestricted -Force
- Windows
- Create a virtual environment
python -m venv venv
- Activate the virtual environment
- Mac/Linux
source venv/bin/activate
- Windows
.\venv\scripts\activate
- Mac/Linux
- Install the required libraries
pip install -r requirements.txt
- Configure
config.json
config_vax_center.json
- Run the app
python Main.py
- Change configs
config.json
config_vax_center.json
- Install the required libraries
pip install -r requirements.txt
- Make start/stop scripts executable
chmod 755 -R scripts
- Run start/stop script
./scripts/start.sh
./scripts/stop.sh