mynksh / Cowin-alert

If you are looking for Covid-19 vaccination in India this script will help you to find available vaccine slots in your area and notify you in telegram.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributions welcome license-shield last-commit

Covid-19 Vaccine slots availability across India

Cowin-alert

This is custom bot script which will alert you on telegram bot if there is any vaccine slot available in provided area. You customize it to filer as you need.

Setting up:

On your Phone

  • Open your telegram and search for @botFather
  • Type /newbot
  • Enter name of the bot (it should end with '_bot')
  • You will receive a token

On your machine

  • Run sudo pip3 install httpx[http2]
  • Run sudo pip3 install telegram-send
  • Run telegram-send --configure
  • Enter the token received from botFather
  • It will generate a token which you need to send to the newly created channel

Click here for more detailed steps

Running Script

Inside script 'cowin-alert.py'

  • Change age on line 48 according to your age limit
  • Change district ID on line 73 (by default its Pune '363'); you can get your district id from cowin website.
  • Finally, Run python cowin-alert.py

Be safe and get vaccinated !!

About

If you are looking for Covid-19 vaccination in India this script will help you to find available vaccine slots in your area and notify you in telegram.

License:MIT License


Languages

Language:Python 100.0%