You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: