Skip to content

Telegram bot to scan, search, reschedule, and track Singapore Covid-19 vaccination appointments

License

Notifications You must be signed in to change notification settings

DingYao/ameliavaccinebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AmeliaVaccineBot

Telegram bot to scan, search, reschedule, and track Singapore Covid-19 vaccination appointments

Example commands

  1. /scan to find locations with an available 1st appointment
  2. /search1 [a location] to get slotId of the available 1st appointment
  3. /search2 [the same location] to get slotId of an available 2nd appointment {settings.DAYS_AFTER} days later
  4. /reschedule [NRIC/UIN] [bookingCode] [/search1 slotId] [/search2 slotId] to reschedule your appointments
  5. /status [NRIC/UIN] [bookingCode] to show your scheduled appointments

Getting started

Setup Python environment

pip3 install -r requirements.txt -t modules/
sudo timedatectl set-timezone Asia/Shanghai

Configure AmeliaVaccineBot

Configure these settings in the src/settings.py file

  • BOT_NAME: Bot name
  • DATE_OF_BIRTH: Date of birth
  • DAYS_AFTER: Days after 1st appointment for 2nd appointment
  • END_SEARCH_DATE: End search date
  • SLOTS_TO_SHOW_SEARCH1: Slots to show per location for /search1
  • SLOTS_TO_SHOW_SEARCH2: Slots to show per location for /search2
  • PATIENT_GROUP_ID: Patient group id
  • VACCINE_TYPE: Vaccine type

Run AmeliaVaccineBot

export TELEGRAM_BOT_TOKEN=[TELEGRAM_BOT_TOKEN]
python3 src

About

Telegram bot to scan, search, reschedule, and track Singapore Covid-19 vaccination appointments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages