CoWin-Vaccine-Notifier icon indicating copy to clipboard operation
CoWin-Vaccine-Notifier copied to clipboard

Cowin API is not Realtime!

Open saby22 opened this issue 4 years ago • 3 comments

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

saby22 avatar May 18 '21 05:05 saby22

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...

sjmodi1997 avatar May 18 '21 18:05 sjmodi1997

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.

saby22 avatar May 18 '21 20:05 saby22

Yeah, Selenium will do it perfectly

anktgasm avatar May 19 '21 01:05 anktgasm