covaccine-notifier icon indicating copy to clipboard operation
covaccine-notifier copied to clipboard

Unauthenticated access error + steps to compile local code

Open mrinmoymsarkar opened this issue 3 years ago • 5 comments

Screenshot 2021-05-10 at 2 26 00 AM

They sometimes add public to the URL it seems: eg https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict?district_id=393&date=10-05-2021

Have changed the URL but I guess I don't know know how to create a new sh file from the code itself.

Can you add the steps to update compile existing code if any local changes are made in the readme file? It would be great

mrinmoymsarkar avatar May 09 '21 21:05 mrinmoymsarkar

@mrinmoymsarkar could you please try increasing the interval? We switched from public endpoints to these endpoints because we observed a mismatch between availability values we received before and after login. This endpoint gets called after login but doesn't require any authentication

PrasadG193 avatar May 10 '21 05:05 PrasadG193

@mrinmoymsarkar could you please try increasing the interval? We switched from public endpoints to these endpoints because we observed a mismatch between availability values we received before and after login. This endpoint gets called after login but doesn't require any authentication

In my town, the center gets full in less then a minute. So had decreased the interval to 5sec.

Can you add or mention the steps to update compile existing code if any local changes are made , in the readme file? It would be great!

mrinmoymsarkar avatar May 10 '21 05:05 mrinmoymsarkar

Sure! It can be compiled with go build ., I will add the step in README

PrasadG193 avatar May 10 '21 05:05 PrasadG193

Thanks! This is a great notifier. I have tried multiple found this the best. Thanks for this.

mrinmoymsarkar avatar May 10 '21 05:05 mrinmoymsarkar

I am using the default interval of 60, though the use of docker, but I am still getting the unauthenticated access error? How do I decrease or increase the time interval if I use docker?

GOODBOIXD avatar May 13 '21 19:05 GOODBOIXD