Holidays API

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Holidays API

Post by patrikG »

Does anyone know an API that returns national/international holidays for a month and/or year? Say, I query "2007" I would get back Easter, bank holidays (or equivalent) etc.

Thanks
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

hawleyjr wrote:Lamest PHP functions ever :) lol, j/k
True ;) PHP's calendar extension doesn't really offer much apart from Easter and calendar conversion. But Easter is just an example - is there a Web API that returns all holidays of a year (or month)?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Brilliant, thanks Weirdan.
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

Don't want to bring up a dead post but I was reading this blog. Which brought me to this pear package.

Though it may be of some help from someone :)
Post Reply