/cowin-vaccine-alert

Get message/call on the phone and WhatsApp through Twilio account if the vaccine slot is available for given list of pin codes.

Primary LanguagePython

cowin-vaccine-alert

Required python>=3.6

Steps:

  1. Step virtualenv

  2. Install required libraries

$ pip install -r requirements.txt
  1. Setup twilio account phone number

https://www.twilio.com/docs/sms/quickstart/python

  1. Setup twilio account whatsapp account

https://www.twilio.com/docs/whatsapp/quickstart/python

  1. Update below variables in cowin.py script

    • TWILIO_SID
    • TWILIO_TOKEN
    • from_ph (Twilio number used to send SMS to regisetered phones numbers)
    • whatsapp_from_ph (Twilio number used to send whatsapp to regisetered phones numbers)
    • to_phs (registered phone numbers to receive message and calls )
  2. Run script

git clone https://github.com/ganeshrn/cowin-vaccine-alert
cd cowin-vaccine-alert
python cowin.py