This is a simple website that lets you monitor vaccine availability using API Setu (https://apisetu.gov.in/) This app however does not book appointments for you. For the purpose of appointment you can visit https://selfregistration.cowin.gov.in/.
- Download the zip file
- Extract the zip file
- Open index.html in browser
- You can change the options and click on search.
- Let it auto-refresh for updating after set intervals (Generally refresh interval = 3 x Number of Disctrict IDs)
Notification API in javascript allows to send notifications only if:
- Website is running locally; or
- Website is running on secure connection (i.e HTTPS)
- As per CoWin API guidelines on API Setu, the API Call limit is 100 API calls per 5 Minutes. This means on average you could make 1 API Request every 3 seconds.
- API requests are served from cached data. Hence, there could be cases where the data received by the app could be upto 30 mins old.
- API calls is being allowed only from Indian IP. If you make an API call from outside india, you will receive
{ "message": "Forbidden" }
For the purpose of this project, I have used only 2 District IDs Thane 392 Mumbai 395
You can check for other district IDs by inserting comma separated disctrict IDs in the user input form. You can get district IDs from API Setu.