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

Update in repo for 15-18 years and booster dose vaccine #108

Closed 520rahul closed 2 years ago

520rahul commented 2 years ago

Plz update repo for vaccinations of 15-18 years also and for booster dose also

SRvSaha commented 2 years ago

@520rahul I don’t think any changes are needed in the code.

Only configuration to be done properly. Most probably, these will be the changes:

Configuration Should Be "MinAgeLimit": 15, "MaxAgeLimit": 18 in appSettings.json

As per new, as only COVAXIN will be provided so, following can be configured:

Configuration Should Be "VaccineType": "COVAXIN" if you want to get Covaxin

And for booster doses, which are supposed to be given to 60+,

similar changes to be done for “DoseType”, “MinAgeLimit” and “MaxAgeLimit”.

I don’t have the values to mention now, but once it goes live after 10th Jan, we can check out.

520rahul commented 2 years ago

@520rahul I don’t think any changes are needed in the code.

Only configuration to be done properly. Most probably, these will be the changes:

Configuration Should Be "MinAgeLimit": 15, "MaxAgeLimit": 18 in appSettings.json

As per new, as only COVAXIN will be provided so, following can be configured:

Configuration Should Be "VaccineType": "COVAXIN" if you want to get Covaxin

And for booster doses, which are supposed to be given to 60+,

similar changes to be done for “DoseType”, “MinAgeLimit” and “MaxAgeLimit”.

I don’t have the values to mention now, but once it goes live after 10th Jan, we can check out.

@SRvSaha thank u so much for considering my request and clearing all doubts. Thanks again

520rahul commented 2 years ago

@SRvSaha when u get time plz check whether repo is working or not. As i tried today with different combinations but repo did not find any slots. But all slots were easily avaible on cowin website. Plz check whether there is any change in api

SRvSaha commented 2 years ago

Okay shall check! Can you please do a F12 in browser, go to network section, an then reload cowin search for some pin or district, and share the json response! Also, share your combination for config file by removing confidential data. Since I won’t be able to register for 15-18 years in my profile, need the data for debugging & reverse engineering @520rahul

520rahul commented 2 years ago

Sure @SRvSaha i will share my data

520rahul commented 2 years ago

@SRvSaha today i deleted the old repo and downlaoded the fresh latest repo and tried to book slot for 15-18 sge group and it booked successfully. Thanks brother. Repo is working perfrctly so i m closing the issue. Thanks again

SRvSaha commented 2 years ago

FAQs updated for Reference FAQs for 15+