Skip to content

senthil-root/vaccinate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vaccinate

Create .env with secret and mobile number

Example

mobile=999999999
type=COVAXIN
district=<district_id>
dose=1

Get District id from

State ID from

curl --silent 'https://cdn-api.co-vin.in/api/v2/admin/location/states' \
-H 'user-agent: Mozilla/5.0' | jq '.states[]  | select(.state_name == "Tamil Nadu") | .state_id'

District ID from

curl --silent 'https://cdn-api.co-vin.in/api/v2/admin/location/districts/31' \
-H 'user-agent: Mozilla/5.0' | jq '.districts[]  | select(.district_name == "Chennai") | .district_id'

Get Token

node otp.js

Search Availability and Book

node booking.js <COVAXIN|COVISHIELD>

Dependency

License

MIT

Free and Open Source Software, Yeah!

About

Help for booking Vaccination slot in Cowin India.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published