NodeJs Scheduler to find vaccine availability within your city
Clone the repo
cd cowin-vaccine-availability-scheduler
npm i
npm start
There are two constants in constant.js file
DISTRICT_ID: 770, // 770 is for Ahmedabad Corporation..
APPOINTMENT_DATE: '17-05-2021', // DD-MM-YYYY
You need to change these according to your requirement. Check details below in order to find district id
- Call https://cdn-api.co-vin.in/api/v2/admin/location/states
- Pick your state id
- Call https://cdn-api.co-vin.in/api/v2/admin/location/districts/11 (replace 11 with your state id)
- Copy your district id
Cowin APIs can be found here https://apisetu.gov.in/public/marketplace/api/cowin