Skip to content

A (Covid-19) Vaccine Tracker for the district of Kannur, Kerala. Also configured to send message to telegram for bot purposes. Made with the help of CoWIN API.

Notifications You must be signed in to change notification settings

mohdaadilf/KannurVaccineTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

Initially made into a bot (not deployed on any cloud yet) to find Vaccine Centres in Kannur, Kerala for people under the Age 45 (and above 18). This CANNOT book slots automatically. Only use this to check for slots.

  • Made using the cowin-api Click here for Api Setu Site

  • Updates might not be real time as documentation mentions "data can be cached and may be up to 30 minutes old".

  • Won't send a message if availability of Vaccine < 10 (No point doing that)

  • Sends message using telegram. If you want to configure to your own requirements, you must have your own Telegram token and other data to send message to telegram. If you simply want to run the program, refer to Configuring Telegram Bot or just remove line 78, 86, 96 in main.py (shown below):

send_new_msg(txt, center)
cleaning_db()
telegram_required()

Configuring Telegram bot

Refer to this video. Though the video is a bit long, it does a good job of explaining what needs to be done in order to configure the telegram bot.

Modifying for other districts

  • The code can also be modified to check availability in any other district. The code can be modified to check availability of Covid-19 Vaccine for any district in India. To see all district codes, click on this link to view csv containing District ID's . On finding your required district, copy paste it into line number 22 in main.py
  • For example:
dist_id = "INSERT_DISTRICT_ID HERE"

(ie)

dist_id = "512"
  • Fin.
Additional Info

Buy Me A Coffee

Hits

About

A (Covid-19) Vaccine Tracker for the district of Kannur, Kerala. Also configured to send message to telegram for bot purposes. Made with the help of CoWIN API.

Topics

Resources

Stars

Watchers

Forks

Languages