0
Answered

Get a list of all potential returned values of Leyning reading names

amnon 1 year ago updated by Michael J. Radwin 1 year ago 1

Hi,

I am using the Leyning API, then comparing the returned hebrer parasha name to a list I have in Excel.

Is there a way to get all potential returned name?

For example: לך-לך, סוכות א׳

Thanks

Answer

Answer
Answered

Thanks for using the Hebcal Leyning API!

We don't have a centralized list of all of the parsha and holiday names, it's scattered in a few different places.

The English & Hebrew names of the regular parshiyot are included here in this JSON file:

https://github.com/hebcal/hebcal-leyning/blob/main/src/aliyot.json


Note that for regular parashat haShavua, we return a numerical field called parshaNum which can be used as a mapping key which may be more convenient than using the name field. Bereshit = 1, Noach = 2, etc.

The names used for holiday readings in English transliteration (such as Sukkot I) are included here:

https://github.com/hebcal/hebcal-leyning/blob/main/src/holiday-readings.json

And if you want Hebrew equivalents of the holiday names (such as סוּכּוֹת א׳), you will find them here:

https://github.com/hebcal/hebcal-es6/blob/main/po/he.po

Please let us know if this helps, and good luck with the API!

Answer
Answered

Thanks for using the Hebcal Leyning API!

We don't have a centralized list of all of the parsha and holiday names, it's scattered in a few different places.

The English & Hebrew names of the regular parshiyot are included here in this JSON file:

https://github.com/hebcal/hebcal-leyning/blob/main/src/aliyot.json


Note that for regular parashat haShavua, we return a numerical field called parshaNum which can be used as a mapping key which may be more convenient than using the name field. Bereshit = 1, Noach = 2, etc.

The names used for holiday readings in English transliteration (such as Sukkot I) are included here:

https://github.com/hebcal/hebcal-leyning/blob/main/src/holiday-readings.json

And if you want Hebrew equivalents of the holiday names (such as סוּכּוֹת א׳), you will find them here:

https://github.com/hebcal/hebcal-es6/blob/main/po/he.po

Please let us know if this helps, and good luck with the API!