Please add option to check multiple pincodes
Opened this issue · 2 comments
hpk22 commented
Please add option to check multiple pincodes
ManojMadanmohan commented
It looks like this is unsupported by the API: https://apisetu.gov.in/public/api/cowin#/Appointment%20Availability%20APIs/calendarByPin
not sure if this would be doable
1itromio commented
Yeah it does not support that, However we can save the pincodes in local and try for each alternatively. However this will slow down the polling interval for one pincode considering the rate limit of cowin APIs applicable to individual IP Address. Rather we can use a strategy to switch between mobile network and wifi interface to make the api calls so that the IP addresses differ for api calls and we get a less chance of getting 301