Get tips for a city. The returned tips will be tips that can be seen by the currently authenticated user, so may include private tips that only this user can see, as well as public tips on the city.

 

Usage:

GET /api/tips?geoname_id=<geoname_id> - Get tips for a city

 

Parameters:

geoname_id={id} - the GeoName ID of the destination. Use the search method to find a suitable Geoname ID.

 

Response:

<tips>
  <tip>
    <id>88</id>
    <title>Cheese shops</title>
    <review>I like cheese.</review>
    <url>http://www.ilovecheese.com/</url>
    <address>London somewhere, I forget. There was cheese.</address>
    <status>public</status>
    <rating>1</rating>
    <city>
      <name>London</name>
      <rgb>59ead8</rgb>
      <url>http://localhost:3000/place/gb/london</url>
      <geoname_id>2643743</geoname_id>
    </city>
    <traveller>
      <name>Wallace</name>
      <sha1email>d54584148714d84a2fb1401e5879872fd9edc570</sha1email>
      <icon_id>83ff2c03a3861fe9eb6327475878784</icon_id>
      <nick>cheeseman</nick>
      <url>http://localhost:3000/traveller/cheeseman</url>
    </traveller>
  </tip>
  ...
</tips>
  


Page Information

  • 4 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts