This Application checks the cowin portal periodically to find vaccination slots available in your pin code and for your age. If found, it will automatically send you emails every minute until the slots are available.
you can also set NO_OF_DAYS_TO_CHECK params in .env to check for how may days you wanted to check. You can also set PREFERRED_VACCINE with these two value(COVAXIN,COVISHIELD) to choose which one you wanted.
-
Enable application access on your gmail with steps given here https://support.google.com/accounts/answer/185833?hl=en&authuser=0&pli=1
-
Enter the details in the file .env, which is available in root folder. Here is an example PINCODE=360001 EMAIL=ikishan.oza@gmail.com APPLICATION_PASSWORD=askdjklj11aklsj AGE=25 NO_OF_DAYS_TO_CHECK=2 PREFERRED_VACCINE=COVAXIN,COVISHIELD
-
In your terminal(In Local or ec2) run following command
npm i && pm2 start vaccineNotifier.js
-
To Kill or Close the application following command
pm2 stop vaccineNotifier.js && pm2 delete vaccineNotifier.js
https://apisetu.gov.in/public/marketplace/api/cowin/cowin-protected-v2#/Vaccination%20Appointment%20APIs/findByPin