cowinapi / developer.cowin

This group is created to facilitate technical and integration discussions related to cowin platform. API related contents can be obtained at API setu portal https://apisetu.gov.in/public/marketplace/api/cowin
115 stars 30 forks source link

Trusted API key for just calendar data. #51

Closed ofpiyush closed 3 years ago

ofpiyush commented 3 years ago

Quite a few notification systems have popped up to help people in this crisis.

The new API restrictions make it difficult for these systems to help people.

Specifically 2 things:

As you must be aware, bad actors can still book the slots automatically anyway.

Good actors and people trying to help others are not able to give quality information to everyone.

To mitigate this, can we get an API key that allows us to query only the calendarByDistrict and calendarByPin public/protected API endpoints with higher rate limit and lower cache time?

Alternatively, if there was a way to get notified ahead of time or register ourselves in a token/queue system, that would solve the problem as well.

abhishek1234321 commented 3 years ago

calendarByDistrict and calendarByPin work without the token from what I understand

souvik234 commented 3 years ago

@abhishek1234321 Yes, but both of these are still rate-limited for the public endpoint

akhilesh-godi commented 3 years ago

@ofpiyush I think you should open up a new issue - an enhancement for the token/queue system - not just for registration for updates but for real allocation of slots as well. I definitely think there needs to be such a system in place. It is also the right thing to do as long as the algorithm used for such an allocation of slots is 'fair' and backed by a vaccination 'policy'. The outline of your proposal is nice. It might be worth exploring it further. I hope the devs on this issue can take the enhancement proposal forward.

ofpiyush commented 3 years ago

Thanks @akhilesh-godi! I've created an issue #72 for it