With the initiation of the COVID vaccination drive across India for all 18+ individuals, I wrote a python script which with the help of telegram alerts the user regarding open slots in the vicinity! This script can used for both age group alerts 18-44 and 45+ both.
- To deploy the script you must be having a server which you can serve 24*7.
- Telegram Id, Telegram bot and Telegram Channel (All are free).
- Clone this repo if you are having linux server or just copy the cowin.py from the repo.
git clone https://github.com/SP4RKiOP/Cowin_vaccine_telegram_notifier.git
- This script is using the api of search by district, so first get your district id from cowin site, api is provided there for the same.
- Create your Telegram bot and copy the HTTP API provided by the Botfather.
- Create a Telegram channel and make it public, add the bot to that channel, copy the channel id of your channel. Bot's HTTP API example-