Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cowin API is not Realtime! #9

Open
saby22 opened this issue May 18, 2021 · 3 comments
Open

Cowin API is not Realtime! #9

saby22 opened this issue May 18, 2021 · 3 comments

Comments

@saby22
Copy link

saby22 commented May 18, 2021

Hello. I had tried to make a similar Vaccine Notifier using the COWIN's public API. However, the API is not realtime anymore. According to the official website, they cache the data for 30 minutes. However, according to my experience and my testing, the data is being cached for more than 30 mins (often for more than 5-6 hours).

Capture

@sjmodi1997
Copy link

sjmodi1997 commented May 18, 2021

Hey, I also faced the same issue! Is there any way to avoid getting a 401 Unauth response? I am pretty sure this code also will receive 401 after a run of more than one day continues...

@saby22
Copy link
Author

saby22 commented May 18, 2021

Hey, I also faced the same issue! Is there any way to avoid getting a 401 Unauth response? I am pretty sure this code also will receive 401 after a run of more than one day continues...

The only possible way to get around this is by making a web scraper. Currently I am working on it.

@anktgasm
Copy link

Yeah, Selenium will do it perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants