checks covin slots and create beep sound
- clone the repo
- go to the folder
cd covin
- run
chmod 777 bundle_install.sh
- run
./bundle_install.sh
And you are good to go..
you will get the alert every 1 hour about the available slots.
- If you want add multiple pincodes just make the changes in
schedule_with_pin_codes
- update pincode array
-
Open Rakefile check PIN_CODES=[416235, 416005] update this value to the value you wanted.
-
If you want to know the slots for 411001, 411235 and 411216 then it will look like PIN_CODES=[411001, 411216, 411235]
-
Added age_limit checks, you will get alert only when slots are available for your age limit, you want to search vaccine for minimum age 45, thenn got to
schedule_with_pin_codes
findage_limit
and change the value from 18 to 45, the default is 18, for 18 to 44 filter. -
Add your mobile number for SMS alert in
schedule_with_pin_codes
go toschedule_with_pin_codes
file findto:
add number after91**********
Now you get the SMS notification when the slots are available in specified pin codes for your age limit, SMS contains pin code and available vaccine name.
- Go to
schedule_with_city
- Update district id, for my city it's 371, you can update it to your city code. Check the district id list here -> https://github.com/tejaswinichile/covin/wiki
- Update the line number 34 with associated district id, for example: according to https://github.com/tejaswinichile/covin/wiki/District-list-for-Delhi
{ "district_id": 141, "district_name": "Central Delhi" }
District id forCenntra Delhi is 141
. Update district_id = 141 - Update age_limit, for 18-44 it's 18 and other it's 45.
There are multiple APIs available https://apisetu.gov.in/public/marketplace/api/cowin
##PRs are welcome!!