yashwanthm / cowin-vaccine-booking

The app enables tracking coivid vaccine availability and automatically book a vaccination slot. This is based on Cowin API and supports the recently added Captcha code of Cowin.
https://yashwanthm.github.io/cowin-vaccine-booking/
BSD 3-Clause "New" or "Revised" License
152 stars 61 forks source link
booking covid-19 covid19 cowin vaccination vaccine-appointments

About

This utility can login into Cowin, track vaccine availability and automatically book a a vaccination slot if you are logged in. The app is made possible by https://apisetu.gov.in/public/api/cowin The deployment is available at https://yashwanthm.github.io/cowin-vaccine-booking/

This app also supports

API for integrating link based booking into your app/Notifications system

This API allows you to open a URL from within your application where a user will be readily available to book. Support for passing user's token coming soon. Please report an issue if you need this expedited.

URL Pattern:

https://yashwanthm.github.io/cowin-vaccine-booking/?dose=${dose}&session_id=${session_id}&slot=${slot} Where

Example:

https://yashwanthm.github.io/cowin-vaccine-booking/?dose=1&session_id=13526b72-38f3-46bb-970c-0c4fd893a1e9&slot=09%3A00AM-11%3A00AM

Running locally

yarn install yarn start

Update poll frequency using

localStorage.pollFreq = 1000 This also works on the deployed version.

Backers