Guides
Guides
Http request with GET method:
http://iwannagothere.com/api/routes/{route_id}
Parameters:
- key: User API key
- route_id: Id of the guide
Example response:
<itemroute> <created-at type="datetime">2009-04-18T10:10:08+02:00</created-at> <delta type="boolean">true</delta> <id type="integer">2</id> <items-count type="integer">5</items-count> <name>Madrid</name> <nicename>madrid</nicename> <updated-at type="datetime">2009-07-17T15:28:09+02:00</updated-at> <user_id type="integer">55</user_id> <long_guid>http://iwannagothere.com//users/bomberstudios/routes/looking-for-the-perfect-beat</long_guid> </itemroute>
Error codes:
- 401: API Key not valid
- 404: Guide not found
Get items from a guide
Http request with GET method:
http://iwannagothere.com/api/routes/{route_id}/items
Parameters:
- key: User API key
- route_id: Id of the guide
- limit: Limit number of items. Default to 10
Example response:
<items type="array">
<item>
<address>Calle de Caños del Peral, 3, 28013, Madrid, Spain</address>
<category-id type="integer">3</category-id>
<coolness type="integer">0</coolness>
<created-at type="datetime">2009-05-20T08:45:10+02:00</created-at>
<delta type="boolean">false</delta>
<description>Great Mexican restaurant where you won't find any typical cheap tex-mex. The recipes here are Mexican Nouvelle Cuisine, with abundant portions, great ingredients and carefully combined ideas from traditional recipes. I really enjoyed myself when I went along with a Mexican friend. Good tequilas too!
The owners are painters and have beautifully decorated the restaurant. A great restaurant albeit a bit expensive.</description>
<highlighted-date type="datetime" nil="true"></highlighted-date>
<id type="integer">2645</id>
<keywords>madrid, spain, eating-drinking, entre suspiro y suspiro, abundant portions, nouvelle cuisine, mexican friend, traditional recipes, tequilas, suspiro, tex mex, painters</keywords>
<lat>40.4185796</lat>
<long>-3.7089972</long>
<map-id type="integer">2444</map-id>
<nicetitle>entre-suspiro-y-suspiro</nicetitle>
<place-id type="integer">5</place-id>
<popularity type="float">5.0</popularity>
<published type="boolean">true</published>
<reviewed type="boolean">false</reviewed>
<summercontest09 type="boolean">false</summercontest09>
<title>Entre Suspiro y Suspiro</title>
<updated-at type="datetime">2009-07-20T07:07:00+02:00</updated-at>
<url></url>
<user-id type="integer">781</user-id>
<long_guid>http://iwannagothere.com/travel-guides/valencia/highlights/lonja-la-seda</long_guid>
</item>
<item>
<address>Calle de Santa Isabel, 3, 28012, Madrid, Spain</address>
<category-id type="integer">3</category-id>
<coolness type="integer">0</coolness>
<created-at type="datetime">2009-03-11T17:04:12+01:00</created-at>
<delta type="boolean">false</delta>
<description>A nice and quite still cafetería at Cine Doré, for enjoying a cup of coffee or eating some chocolatte cake.
Cine Doré is a really cheap, public cinema, which is responsible for the Spanish Film Library, that shows classic and independent film</description>
<highlighted-date type="datetime" nil="true"></highlighted-date>
<id type="integer">1899</id>
<keywords>madrid, spain, eating-drinking, cafetería at doré cinema, spanish film, film library, cup of coffee, independent film, cinema</keywords>
<lat>40.4117527</lat>
<long>-3.6992441</long>
<map-id type="integer">1776</map-id>
<nicetitle>cafeteria-at-dore-cinema</nicetitle>
<place-id type="integer">5</place-id>
<popularity type="float">5.0</popularity>
<published type="boolean">true</published>
<reviewed type="boolean">false</reviewed>
<summercontest09 type="boolean">false</summercontest09>
<title>Cafetería at Doré Cinema</title>
<updated-at type="datetime">2009-07-19T07:00:16+02:00</updated-at>
<url>http://www.mcu.es/cine/MC/FE/CineDore/Instalaciones.html</url>
<user-id type="integer">626</user-id>
<long_guid>http://iwannagothere.com/travel-guides/valencia/highlights/lonja-la-seda</long_guid>
</item>
</items>
Error codes:
- 401: API Key not valid
- 404: Guide not found
Http request with GET method:
http://iwannagothere.com/api/routes/{route_id}/items
Parameters:
- key: User API key
- route_id: Id of the guide
- limit: Limit number of items. Default to 10
Example response:
<items type="array"> <item> <address>Calle de Caños del Peral, 3, 28013, Madrid, Spain</address> <category-id type="integer">3</category-id> <coolness type="integer">0</coolness> <created-at type="datetime">2009-05-20T08:45:10+02:00</created-at> <delta type="boolean">false</delta> <description>Great Mexican restaurant where you won't find any typical cheap tex-mex. The recipes here are Mexican Nouvelle Cuisine, with abundant portions, great ingredients and carefully combined ideas from traditional recipes. I really enjoyed myself when I went along with a Mexican friend. Good tequilas too! The owners are painters and have beautifully decorated the restaurant. A great restaurant albeit a bit expensive.</description> <highlighted-date type="datetime" nil="true"></highlighted-date> <id type="integer">2645</id> <keywords>madrid, spain, eating-drinking, entre suspiro y suspiro, abundant portions, nouvelle cuisine, mexican friend, traditional recipes, tequilas, suspiro, tex mex, painters</keywords> <lat>40.4185796</lat> <long>-3.7089972</long> <map-id type="integer">2444</map-id> <nicetitle>entre-suspiro-y-suspiro</nicetitle> <place-id type="integer">5</place-id> <popularity type="float">5.0</popularity> <published type="boolean">true</published> <reviewed type="boolean">false</reviewed> <summercontest09 type="boolean">false</summercontest09> <title>Entre Suspiro y Suspiro</title> <updated-at type="datetime">2009-07-20T07:07:00+02:00</updated-at> <url></url> <user-id type="integer">781</user-id> <long_guid>http://iwannagothere.com/travel-guides/valencia/highlights/lonja-la-seda</long_guid> </item> <item> <address>Calle de Santa Isabel, 3, 28012, Madrid, Spain</address> <category-id type="integer">3</category-id> <coolness type="integer">0</coolness> <created-at type="datetime">2009-03-11T17:04:12+01:00</created-at> <delta type="boolean">false</delta> <description>A nice and quite still cafetería at Cine Doré, for enjoying a cup of coffee or eating some chocolatte cake. Cine Doré is a really cheap, public cinema, which is responsible for the Spanish Film Library, that shows classic and independent film</description> <highlighted-date type="datetime" nil="true"></highlighted-date> <id type="integer">1899</id> <keywords>madrid, spain, eating-drinking, cafetería at doré cinema, spanish film, film library, cup of coffee, independent film, cinema</keywords> <lat>40.4117527</lat> <long>-3.6992441</long> <map-id type="integer">1776</map-id> <nicetitle>cafeteria-at-dore-cinema</nicetitle> <place-id type="integer">5</place-id> <popularity type="float">5.0</popularity> <published type="boolean">true</published> <reviewed type="boolean">false</reviewed> <summercontest09 type="boolean">false</summercontest09> <title>Cafetería at Doré Cinema</title> <updated-at type="datetime">2009-07-19T07:00:16+02:00</updated-at> <url>http://www.mcu.es/cine/MC/FE/CineDore/Instalaciones.html</url> <user-id type="integer">626</user-id> <long_guid>http://iwannagothere.com/travel-guides/valencia/highlights/lonja-la-seda</long_guid> </item> </items>
Error codes:
- 401: API Key not valid
- 404: Guide not found