Friday, September 29, 2006

Perl and Java examples of Kayak search API

These samples are a bit old, but are a good starting point if you want to try implementing the Kayak API in Perl or Java. If you have a better/cleaner example you would like to share, let us know. If it's better than our hacked-together examples, I'll send you a Kayak t-shirt. Yeah, we spare no expense, baby!

Perl example.

Java example.

2 Comments:

Blogger sandip said...

I have a question on Kayak flight search API.

We want to get the search results as returned by kayak.com homepage which are sorted on the basis of price and non-stop.

What option either in
http://www.kayak.com/s/apisearch?

or http://www.kayak.com/s/basic/flight shall we use to get results as returned by kayak.com

1:13 AM  
Blogger nowindows said...

I am using Kayak API with PHP and works very well. Only one mistake in the description I found.

In the 'Get Hotel Results' section there is no required apimode. Without this parameter the result will be in HTML format and then the 'Session expires' error will be shown.

Thanks
Bogomil "Bogo Shopov"

9:26 AM  

Post a Comment

<< Home