Unofficial API based on the sample XML file provided for Tnooz THack.
http://paulslugocki.me.uk/tripbod/tripbods/
| Parameter | Notes |
|---|---|
| General | |
| id | Retrieve the data for a specific Tripbod |
| interest | Filter results by those Tripbods listing a particular interest. Comma separate to search multiple interests (see Test URLs) |
| Location | |
| areaCoveredId | Filter results by a paritcular area by ID, view XML file of destinations |
| areaCovered | Filter results by particular areas via a text search (LIKE) on the areaCovered |
| latitude | Combined with longitude and distance to describe an area to search |
| longitude | Combined with latitude and distance to describe an area to search |
| distance | Combined with latitude and longitude to describe an area to search. Distance is the radius of the area in Miles, defaults to 50 |
| countryCode | Filter results by the ISO 2-digit code for a country, codes populated using GeoNames based on the lat/long provided in the Tripbox XML |
| Housekeeping | |
| return | Sets the content-type returned, only supported value is text (returns "text/plain"). Defaults to "application/json" |
| callback | By default the API will return a JSON object, passing the callback parameter causes a JSONP response, the value being used as the callback function. If you are using JQuery's JSONP implementation you don't need to worry about this param. |