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

Feature Request: Next available date #4

Open
UKnowWhoIm opened this issue May 7, 2021 · 6 comments
Open

Feature Request: Next available date #4

UKnowWhoIm opened this issue May 7, 2021 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@UKnowWhoIm
Copy link

Is your feature request related to a problem? Please describe.
Instead of checking for each date till a week, a new feature which provides the next available date

Describe the solution you'd like
Fetch center info on each date till 1 week from now or an available center has been found.

@neelpy
Copy link
Owner

neelpy commented May 7, 2021

If there is no slot in the coming week, there is very little chance that there will be in the next weeks.

I have observed this trend in some districts that I have tested, if you know some district that needs this feature, let me know.

@UKnowWhoIm
Copy link
Author

If there is no slot in the coming week, there is very little chance that there will be in the next weeks.

I meant this week. Get the first available slot this week. The API only has data for this week so there is no point looking past 7 days.

@neelpy
Copy link
Owner

neelpy commented May 7, 2021

Oh, I missed the solution part.

We can sort the available list with first available date as key. Create a PR, I will merge.

@neelpy
Copy link
Owner

neelpy commented May 15, 2021

Sorry, I could not add this to the previous code, and now it has been completely changed. I will try to incorporate this into the current version (you can also do this if you have time).

@neelpy neelpy added enhancement New feature or request help wanted Extra attention is needed labels May 15, 2021
@UKnowWhoIm
Copy link
Author

@neelpy no issues, I'll try to make a PR once I have the time

@ajayap278
Copy link

This feature of automatically choosing the earliest available slot will be the best as in the present case, while we are focusing on one particular date, slots are released two or three days from the selected dates which get missed.

Thank you for all the effort you have put in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants