pallupz / covid-vaccine-booking

This tool can be used to automate booking slots on Co-WIN Platform.
MIT License
597 stars 533 forks source link

Can you create an option to search via pincodes instead of districts ? #35

Closed simplyteju closed 3 years ago

simplyteju commented 3 years ago

districts serve very large areas and give vaccination centers that are pretty far away

ankitrajsh commented 3 years ago

yes, i will try it.

pallupz commented 3 years ago

@simplyteju search by pincodes has been added to the latest version

simplyteju commented 3 years ago

Thanks alot

I have an unrelated question if you could answer since you're a pro in this:

The slots availability is refreshed during a certain time in the website. It may not be common to all the districts/cities/states. I wanted to know is there any way we can recognize with the help of the API's about during what time of the day a particular city slots will open/will it open daily during a particular timing as such ? Say for example, daily mumbai vaccine slots refreshes at 7.30PM everyday, is there a way to find out that timing ?

On Wed, May 5, 2021 at 7:00 PM pallupz @.***> wrote:

@simplyteju https://github.com/simplyteju search by pincodes has been added to the latest version

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pallupz/covid-vaccine-booking/issues/35#issuecomment-832688281, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT6TWHXQ5FSTBQKVAY6OYSDTMFB6DANCNFSM44EPR4RQ .

-- Best Tej N https://www.instagram.com/tejnookala/ www.fb.com/tejnookala

pallupz commented 3 years ago

You could log the availability on some schedule and then do analysis on it I guess.

If you want to try it:

  1. Link for slot availability: https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict?district_id={DISTRICT_ID_HERE}&date=05-05-2021
  2. For district IDs,
simplyteju commented 3 years ago

Hahah..thanks for the info bro. Im not a tech person like you guys. Just wanted to know if you guys could do it. It would be much more helpful for people to be ready at that particular time just like tatkal train bookings ;)

Really appreciate your idea to techify the slot availability procedure

On Wed, May 5, 2021 at 10:41 PM pallupz @.***> wrote:

You could log the availability on some schedule and then do analysis on it I guess.

If you want to try it:

  1. Link for slot availability: https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict?district_id={DISTRICT_ID_HERE}&date=05-05-2021
  2. For district IDs,

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pallupz/covid-vaccine-booking/issues/35#issuecomment-832863492, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT6TWHT4CMYCY4Z3QWFX6ULTMF32TANCNFSM44EPR4RQ .

-- Best Tej N https://www.instagram.com/tejnookala/ www.fb.com/tejnookala

pallupz commented 3 years ago

And yet, you're on GitHub! That says a lot :)

I will try but time is a problem

simplyteju commented 3 years ago

Yeah. I'm a basic Googler and pretty interested to look for useful links all the time. With the given set of instructions at your end it was super easy to try our your script. Infact you were the only one as far as I know who gave the exe file with set of instructions. Rest of the crowd all gave python scripts which an average user like me won't be able to understand.

On Wed, May 5, 2021, 10:55 PM pallupz @.***> wrote:

And yet, you're on GitHub! That says a lot :)

I will try but time is a problem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pallupz/covid-vaccine-booking/issues/35#issuecomment-832872461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT6TWHQO3SKMCRHIDXIUDMLTMF5QNANCNFSM44EPR4RQ .