Travel APIs
buy.at provide APIs for a selection of well known travel merchants, which enable affiliates to build their own interactive sites. With a small investment of time and technical integration, an existing domain can be transformed into a fully-interactive, hotel booking system.
We have put together a number of demonstration sites to fully showcase the capabilities of the APIs; simply click the links on the right to view. To start using the system visit the Expedia API, Hotels.com API or Premier Inn API sections of the Management Area, or see the quick start guide below. If you have any questions or suggestions regarding the buy.at Travel API we'd love to hear them, you can e-mail the team on support@buy.at.
Quick Start Guide
If you want to get your travel site up-and-running quickly, you can take our demo sites as a starting point:
- Visit the relevant demo site and save the page source
- Replace all instances of “affililate2” with your own handle
- Download getdata.php, or if you’re not using PHP, write your own version of a file which will accept a url parameter, retrieve the data from that url, and output it with an XML header (you should be able to find plenty of examples via Google). If you write your own page, you’ll need to replace all instances of getdata.php with your page name in the main demo page
- Add your own stylesheets (you might need to visit http://jqueryui.com/themeroller/ for some help with the widget styling) and any other text changes you want
- Test out your new site!