0
Answered

Year Parameter Default

norma 2 months ago updated by Michael J. Radwin 2 months ago 1

What is the default range of data of the API response for the Jewish Calendar API if I don't set the year parameter?

It used to pull for me the current Hebrew Year, and now I see it's pulling this coming Hebrew year (5785)

Image 313

Answer

Answer
Answered

If you set &yt=H (which it appears you are doing) but you don't want to specify a Hebrew year explicitly, you should consider using &year=now for the current Hebrew year.


If you don't specify year= (or start= and end=), I believe the API will default to the current Hebrew year from 1 Tishrei - 15 Av, and the following Hebrew year starting on the 16th of Av.

Answer
Answered

If you set &yt=H (which it appears you are doing) but you don't want to specify a Hebrew year explicitly, you should consider using &year=now for the current Hebrew year.


If you don't specify year= (or start= and end=), I believe the API will default to the current Hebrew year from 1 Tishrei - 15 Av, and the following Hebrew year starting on the 16th of Av.