SRvSaha / CoWinVaccineSlotFinder

Cross-Platform Software to Fetch the Available Slots & Book the Appointment for COVID-19 Vaccination
https://shawt.io/r/sYv
MIT License
81 stars 32 forks source link

Multiple Slot Booking Query #99

Closed PanicusTotalus closed 3 years ago

PanicusTotalus commented 3 years ago

Is it possible to book slots for 2 different age groups (18-44 and 45+) at the same time using a single script if both the beneficiaries are registered on the same mobile number?

SRvSaha commented 3 years ago

If you're selecting multiple beneficiaries, make sure all are of the same age group (45+ or 18+) as defined by the govt. Please do not try to club together booking for younger and older beneficiaries.

This used to be the scenario. Now since 18+ in includes 45+ as well if MinAgeLimit = 18 and MaxAgeLimit = 100, this MIGHT work!

Let us know if this works ^

But I am not sure! Try for yourself. Else try running two instances of Application with different different beneficiary ids. That’d work @PanicusTotalus

Tnu02 commented 3 years ago

@SRvSaha what if both the beneficiaries are of different dose.. like one is Type 1 and other is type 2. Would it be possible to book thru this.

SRvSaha commented 3 years ago

Do NOT use unless all the beneficiaries selected are supposed to get the same vaccine and dose. When multiple beneficiaries are added for a single registered mobile number, all beneficiaries will get the Same Dose, Same Vaccine, Same Centre and Same Slot. In case any of this doesn't meet the requirements, booking might not be successful.

@Tnu02 Not possible. In that sort of scenario, you have to do twice (for each one separately) or use two instances of the app with different config