yogeshkrishnani / vaccine-notifier

1 stars 2 forks source link

Add date picker #2

Closed denishrana09 closed 3 years ago

denishrana09 commented 3 years ago

government opens 3 days slots at once, so if we can select date then this will be more useful!

yogeshkrishnani commented 3 years ago

@denishrana09

The current api returns all the slots of next 5 days w.r.t date we've passed.

So I don't think we need to add date picker or date range picker.

Let me know if you think otherwise.

denishrana09 commented 3 years ago

Actually what I have saw is, notifier is sending tomorrow's date in API, Can you help me, how you are able to see next 5 days slots!

yogeshkrishnani commented 3 years ago

@denishrana09

Yes, you're right, the application will send tomorrow's date, if you're checking the slot after 5 PM.

But, that api returns the availability of slots for next 7 days, earlier it was 5 days.

Go to https://apisetu.gov.in/public/marketplace/api/cowin/cowinapi-v2#/Vaccination%20Appointment%20APIs/calendarByDistrict and search calendarByDistrict.