Hello Everyone 👋,
I have developed a telegram bot that sends a notification to the user about slots available on the CoWIN portal for coronavirus vaccination.
The bot updates the person via notification once the slot is made available on the CoWIN portal. The message has information on which center has the available slots, the number of slots available, and the date of availability.
You can also run the local script with your own configurations.
https://github.com/nilesh-kawar/Vaccine-Finder.git
npm install
Open the file .env and replace the dummy values with a legitimate Telegram Bot Key, Telegram Chat ID, PORT, District ID and MongoDB URL.
API_TOKEN= #You can get your telegram token from bot father on telegram.
CHAT_ID= #Create a new group on telegram and add a chat id of that group here
PORT= #Assign a port
DISTRICT_ID= #Find your District Id: https://apisetu.gov.in/api/cowin#/Metadata%20APIs/states
MONGODB_URL= mongodb://localhost:27017/{Database Name}
node index.js
https://www.youtube.com/watch?v=jInQx9Uh5Jc&t=43s
Thank you 🙏🏻