Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.26 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.26 KB

Vaccine Notifier

Notifies when a Covid-19 vaccine is available. Currently, it sends a notification (rather, makes a beep sound) when COVAXIN is available.

  • Based on the user's requirements, he/she can be notified about the vaccine of their choice.
  • Text to Speech has been added for ease of use.

How to run?

  1. Clone the repository.
git clone https://github.com/sreyansb/Vaccine_notifier.git
  1. Create a virtual environment and install the dependencies.
cd Vaccine_notifier
virtualenv env
.\env\Scripts\activate
pip install -r requirements.txt
  1. Run the following command. (The program should be allowed to run in the background)
python .\without_whatsapp.py # for the first dose
python .\dose_2.py # for the second dose

Works for Windows systems because of the use of 'winsound'. Replace by printing the bell character instead.

Note:

Works only for BBMP district(district id: 294). To use for other states/districts:

  1. Use api-setu's state id API.

  2. Get the id of your state and use that for api-setu's district id API.

  3. Replace the district id in the code: with the required district's id.