vaccine_availability
vaccine_availability copied to clipboard
commited changes in availability and streamli app
Changes made in availability.py and streamlit app Extra module used: base64
added download option instead of using email.
hi @azeem110201, it would be great if you share the screenshot/screencast of the new streamlit app after your changes.
this way of selecting age is great and fixes #11
hi @azeem110201 , is it running on you machine ?
i keep getting
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Its throwing 403 error. Maybe we have to use some user-agents to get rid of it.
In [1]: import requests
In [2]: requests.get("https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict?district_id=582&date=07-05-2021").status_code Out[2]: 403
In [3]: requests.get("https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict?district_id=581&date=07-05-2021").status_code Out[3]: 403
Now it's working 😃. I added some headers to the request.get() arguments.
Now it's working . I added some headers to the request.get() arguments.
push the new commit