Jewish calendar REST API

Posted by & filed under Developers, APIs, RSS Feeds, Source Code.

Hebcal.com offers a REST API for fetching Jewish calendar data. The output format is in JSON. The basic URL format is as follows: http://www.hebcal.com/hebcal/?v=1&cfg=json&maj=on&min=on&mod=on&nx=on&year=now&month=x&ss=on&mf=on&c=on&geo=geoname&geonameid=3448439&m=50&s=on Note the following customizable parameters and their meanings: year=now – “now” for current year, or 4-digit YYYY such as 2003 month=x – “x” for entire Gregorian year, or use a numeric… Read more »

Hebrew Date Converter REST API

Posted by & filed under Developers, APIs, RSS Feeds, Source Code.

We offer a simple API for converting between Gregorian and Hebrew dates. Two output formats are supported: JSON and XML. To convert from Gregorian to Hebrew date use this URL format: http://www.hebcal.com/converter/?cfg=json&gy=2011&gm=6&gd=2&g2h=1 gy=2011 – Gregorian year gm=6 – Gregorian month (1=January, 12=December) gd=2 – Gregorian day of month g2h=1 – Convert from Gregorian to Hebrew… Read more »

Shabbat Times WordPress plugin

Posted by & filed under Developers, APIs, RSS Feeds, Source Code.

Our new Hebcal Shabbat Times WordPress plugin displays candle-lighting time, Torah Portion, and havdalah time in a WordPress widget. If you run a synagogue or other local Judaism-related website, you can get customized times based on your USA Zip code. An alternative approach is to use the WordPress built-in RSS Widget and configure as follows:

RSS Feeds of Hebcal.com content

Posted by & filed under Developers, APIs, RSS Feeds, Source Code.

Hebcal.com offers content in RSS format as well: Parsahat ha-Shavua RSS (Diaspora) – Torah reading of the week Parsahat ha-Shavua RSS (Israel) – Torah reading of the week Today’s Hebrew Date in English Transliteration RSS Today’s Hebrew Date in Hebrew RSS 1-Click Shabbat RSS (customize zip code parameter for your shul)

Displaying Shabbat candle-lighting times on your website

Posted by & filed under Developers, APIs, RSS Feeds, Source Code.

Hebcal.com’s Add Shabbat Times to your Website tool lets you create custom HTML tags to which display weekly candle-lighting times directly on your web page. The result looks something like this: Shabbat times for Chicago, IL Candle lighting: 4:08pm on Friday, 02 January 2004 This week’s Torah portion is Parashat Vayigash Havdalah (72 min): 5:39pm… Read more »

I’m a programmer. Can I see the source code?

Posted by & filed under Developers, APIs, RSS Feeds, Source Code.

Yes. The code is freely available under the terms of The BSD License. Download from https://github.com/hebcal/dotcom. hebcal.com depends on https://github.com/mjradwin/hebcal, currently a fork of the mainline https://github.com/hebcal/hebcal repository. The only difference between the main hebcal/hebcal program and the mjradwin fork is the use of a different sunrise/sunset algorithm that supports Olson tzdb timezones