Enable future date queries
Closed this issue · 7 comments
that-data-scientist commented
@katta Shall we make the query date parameterised instead of using the system time? What do you think?
katta commented
We could by default it checks for a week from current day . But can add
start date as a param
…On Mon, 31 May 2021 at 01:14, Ritabrata Moitra ***@***.***> wrote:
@katta <https://github.com/katta> Shall we make the query date
parameterised instead of using the system time? What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABSW4JJHQBQ3CYHJ3CC4ULTQKITFANCNFSM45ZVLWCQ>
.
that-data-scientist commented
@katta Cool. I will raise a PR soon.
that-data-scientist commented
@katta Can you please point me towards the section where we check one week from the date ? It seems to be just the current date for me..
katta commented
Yep the api by default fetches slots from the day given + 7 days .
…On Tue, 1 Jun 2021 at 11:05, Ritabrata Moitra ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/16544355/120271525-1e72ff00-c2c9-11eb-93a0-6cfc3b4772bd.png>
[image: image]
<https://user-images.githubusercontent.com/16544355/120271544-2894fd80-c2c9-11eb-9deb-9d694ff90426.png>
@katta <https://github.com/katta> Can you please point me towards the
section where we check one week from the date ? It seems to be just the
current date for me..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABSW4J7GDYFU5OD4QEG36DTQRWSXANCNFSM45ZVLWCQ>
.
katta commented
https://apisetu.gov.in/public/api/cowin#/Appointment%20Availability%20APIs/calendarByDistrict
On Tue, Jun 1, 2021 at 11:06 AM Srivatsa Katta ***@***.***>
wrote:
… Yep the api by default fetches slots from the day given + 7 days .
On Tue, 1 Jun 2021 at 11:05, Ritabrata Moitra ***@***.***>
wrote:
> [image: image]
> <https://user-images.githubusercontent.com/16544355/120271525-1e72ff00-c2c9-11eb-93a0-6cfc3b4772bd.png>
> [image: image]
> <https://user-images.githubusercontent.com/16544355/120271544-2894fd80-c2c9-11eb-9deb-9d694ff90426.png>
>
> @katta <https://github.com/katta> Can you please point me towards the
> section where we check one week from the date ? It seems to be just the
> current date for me..
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#4 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AABSW4J7GDYFU5OD4QEG36DTQRWSXANCNFSM45ZVLWCQ>
> .
>
that-data-scientist commented
katta commented
All good.. thanks for contributing @that-data-scientist :)
This PR #5 closes this,