0
Under review

json for multiple traditions

Avi Eisen 5 years ago updated 5 years ago 3

Is it possible to query the REST API for the Calendar to pull multiple traditions for Haftorot? For example, in Parshat Re'eh, most synagogue I know read Shabbat Rosh Chodesh, and combined Re'eh and Ki Teitzeh.
Under review
Thanks for the inquiry. The current API does indicate the special reading for Shabbat Rosh Chodesh for Haftarah, but it does not offer the ability to customize.

https://www.hebcal.com/hebcal/?v=1&maj=on&min=on&i=off&lg=s&c=off&set=off&year=2015&month=8&s=on&cfg=json


{
  "link": "http:\/\/www.hebcal.com\/sedrot\/reeh",
  "leyning": {
    "1": "Deuteronomy 11:26 - 12:10",
    "2": "Deuteronomy 12:11 - 12:28",
    "3": "Deuteronomy 12:29 - 13:19",
    "4": "Deuteronomy 14:1 - 14:21",
    "5": "Deuteronomy 14:22 - 14:29",
    "6": "Deuteronomy 15:1 - 15:18",
    "7": "Deuteronomy 15:19 - 16:17",
    "torah": "Deuteronomy 11:26 - 16:17",
    "haftarah": "Isaiah 66:1 - 66:24 | Shabbat Rosh Chodesh",
    "triennial": {
      "1": "Deuteronomy 12:29 - 13:1",
      "2": "Deuteronomy 13:2 - 13:6",
      "3": "Deuteronomy 13:7 - 13:12",
      "4": "Deuteronomy 13:13 - 13:19",
      "5": "Deuteronomy 14:1 - 14:8",
      "6": "Deuteronomy 14:9 - 14:21",
      "7": "Deuteronomy 14:22 - 14:29",
      "maftir": "Numbers 28:9 - 28:15 | Shabbat Rosh Chodesh"
    },
    "maftir": "Numbers 28:9 - 28:15 | Shabbat Rosh Chodesh"
  },
  "date": "2015-08-15",
  "hebrew": "\u05e4\u05e8\u05e9\u05ea \u05e8\u05d0\u05d4",
  "title": "Parashat Re'eh",
  "category": "parashat"
}

Thank you for your reply. However, while Re'eh reflects Chodesh, Ki Teitzeh does not, as it does not show doing the entire Noach Haftarah. Can that be corrected?