Skip to content

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

Notifications You must be signed in to change notification settings

mynksh/Cowin-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages