Giter Club home page Giter Club logo

Comments (6)

UKnowWhoIm avatar UKnowWhoIm commented on May 22, 2024 2

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

from cowin.

neelpy avatar neelpy commented on May 22, 2024 1

Oh, I missed the solution part.

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

from cowin.

ajayap278 avatar ajayap278 commented on May 22, 2024 1

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.

from cowin.

neelpy avatar neelpy commented on May 22, 2024

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.

from cowin.

UKnowWhoIm avatar UKnowWhoIm commented on May 22, 2024

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.

from cowin.

neelpy avatar neelpy commented on May 22, 2024

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

from cowin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.