hebcal / hebcal-js

⛔️ DEPRECATED - a perpetual Jewish Calendar (JavaScript)
GNU General Public License v3.0
123 stars 40 forks source link

Fetch next Torah Portion? #45

Closed mcblum closed 6 years ago

mcblum commented 6 years ago

Hi! Thanks for providing this API. We're wondering what the best way is to query the API and get the next Torah portion. We can query by month but if the next Shabbat is in the following month, then the response doesn't have what we need. Is there a param to pass to request only the next Torah portion? Here's the API call we're currently experimenting with:

http://www.hebcal.com/hebcal/?v=1&year=now&s=on&month={month}&cfg=json&geo=zip&zip={zip}

Thank you for any help with this! Matt

Scimonster commented 6 years ago

Hi Matt, this repository is for the Hebcal JavaScript code. The API on hebcal.com is in a different repo: hebcal/hebcal. You may want to post your question there. Best of luck!