0
Completed

Shabbat and holidays parasha list in combobox

refuas 5 years ago updated 5 years ago 5

Hello,

I am using PHP and I need to display the list of shabbat parasha with the holidays of an entire hebrew year in a combobox. can anyone help me find the right code for that

Answer

Answer
Completed

Thanks for the clarification. You can definitely use this API to get exactly what you want. Just specify nx=off&nh=off&s=on 

https://www.hebcal.com/home/195/jewish-calendar-rest-api

That b"h I understand that using the API I can get all what I need. the question is how do I use it in PHP. I need an example or sample code that uses the API in PHP.

Answer
Completed

Thanks for the clarification. You can definitely use this API to get exactly what you want. Just specify nx=off&nh=off&s=on 

https://www.hebcal.com/home/195/jewish-calendar-rest-api

Tnx you for your answer. but the XML will not help me. I need the relevant parsha list for a specific year. for example. in case the user choose 5779 then I need to know the list of parshas for a leap year or not leap year. is it is inside israel or diaspora etc.

can someone please help.