Skip to content

AaveshK/Cowin-Notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cowin-Notifier

made-with-python Hits

What does it do?

Informs you about all the vaccination slots available for you within a week

Platform supported

Windows

Installation

Clone the repository

git clone https://github.com/AaveshK/Cowin-Notifier.git

Install the required libraries

pip install -r requirements.txt

Working

Run the Cowin.py file

python cowin.py

  1. Enter your pincode
  2. Enter your age

That's it. The script will now keep you updated every minute.

Getting notifications

Make sure that the Focus assist is off and not priority only/alarms only

alt text

When any vacant slot is found

alt text

If there are no slots available, there will not be any notification and the terminal will look similar to this

alt text

Modifications

1. The updation time can be changed by changing

60 in @tl.job(interval=timedelta(seconds=60))

By default, the updation occurs every 60 seconds

2. The duration of the notification can be increased/decreased by changing

40 in if count ==1: hr.show_toast("Vaccine slot alert", "Earliest slot available at "+i["name"]+" on "+str(j["date"]),duration=40)

The default time is 40 seconds

Known Issues

About

Informs if a vaccination slot is available

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages