Tracker to check the covid shot slot availability in India and send mobile alerts via Telegram Bot.
Tracker to check the covid vaccine slot availability in your district and send mobile notifications through Telegram.
Python 3.0+ or Docker must be installed in the local system.
There are two parts to this system
How to Create a New Bot for Telegram
section. Note the TOKEN
.@Get_Channel_User_Telegram_ID_Bot
, and go to the chat. Type something and this should help you get your Telegram ID
, which is your chat id. Note that as well.Once all the above requirements are met, do the following
Download ZIP
under Code
.settings.json
with your settings.docker build -t covin --rm .
docker run -it --name covin-schedule --rm covin
pip install -r requirements.txt
python covin_slot_tracker.py
You can either use pincode
or districtId
.
Sample settings.json with pincode
{
"pincode": "695013",
"authToken": "1602################",
"chatId" : "71############",
"userAge": "45"
}
Sample settings.json with districtId
{
"districtId": "391",
"authToken": "1602################",
"chatId" : "71############",
"userAge": "45"
}
Response
Slots Available at 16 places.
SAKUR RH 2, Samsherpur RH, NIRAMAY HOSPITAL, Rahata RH, Chichondi Patil RH, Sakur RH, WAMBORI RH 2,
Wambori RH, JAMKHED RH 2, Topkhana HP, Rajur RH, SHRIRAMPUR RH 2, CHICHONDI PATIL RH 2, TAKALI DHOKESHWAR RH 2,
RAJUR RH 2, SAMSHERPUR RH 2
Here 391 is the district id for Ahmednagar, Maharashtra
To find District ID for other states:
Got to Cowin Portal in the browser