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.
- Clone the repository.
git clone https://github.com/sreyansb/Vaccine_notifier.git
- Create a virtual environment and install the dependencies.
cd Vaccine_notifier
virtualenv env
.\env\Scripts\activate
pip install -r requirements.txt
- 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:
-
Get the id of your state and use that for api-setu's district id API.
-
Replace the district id in the code: with the required district's id.