backtrackbaba / cowin

Python wrapper for CoWin API's
MIT License
42 stars 18 forks source link

Find by PinCode is working #3

Closed sonu1125 closed 3 years ago

sonu1125 commented 3 years ago

File "t.py", line 8, in available_centers = cowin.get_availability_by_pincode(pin_code, date, min_age_limit) File "C:\Users\byashwan\Anaconda3\lib\site-packages\cowin_api\api.py", line 22, in get_availability_by_pincode return filter_centers_by_age_limit(self._call_api(url), min_age_limt) if min_age_limt else self._call_api(url) File "C:\Users\byashwan\Anaconda3\lib\site-packages\cowin_api\utils.py", line 11, in filter_centers_by_age_limit original_centers = centers.get('centers') AttributeError: 'HTTPError' object has no attribute 'get'

DragonWarrior15 commented 3 years ago

@sonu1125, please share the complete code that you have used to run this ?

backtrackbaba commented 3 years ago

@sonu1125 Closing the issue for now. Let us know if your issue still persists