Cleartrip provides booking for flights, hotels and trains, as well as other travel services across the world. The Cleartrip Hotel API provides developers access to the hotel search and booking functionalities of Cleartrip. You can search for hotels, get more information, book a hotel, view itenerary and even cancel hotels, all from the Cleartrip Hotel API interface.
The REST API returns XML and the documentation provides example code for common functions in both Ruby and Java.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.