Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAPI get multiple days ( or next event ) #144
Comments
|
@k9t9 , |
|
Adding @greatjack1 to the thread. |
|
Author of the above-referenced service here, No there is no date range capability yet, but I will add it to the todo as I think its a good idea. So in short, currently there is no better way to determine the next shabbos or Yom Tov other than to query each upcoming day |
|
@KosherJava , @greatjack1 Thanks again. I will post the repo link when it's done.. |
First of all I must say this is a very impressive project.
regarding the API that is available at : https://wyrezmanim.herokuapp.com/api/zmanim
Is there a method to query multiple days from the API ?
In short - and for practical implementation of events or calendars - how can one get the NEXT Holiday for example or the NEXT Shabat or Yom Tov ?
The only method I can think of now is to do a query every day and then check the result - and if there is no "Parasha" or other name then query the next day and so on ..
Also - regarding that - is there a method in the API to get the NAMES of the days ( like for example are presented in the excel sheet exported from https://kosherjava.com/zmanim-project/zmanim-calendar-generator/