Searches for travellers or cities

 

Usage:

GET /api/search?q=<term> - search for something

 

Response (XML):

  <search>
    <city>
      <country_code>GB</country_code>
      <name>London</name>
      <latitude>51.5</latitude>
      <url>http://www.dopplr.com/place/gb/london</url>
      <longitude>-0.116667</longitude>
      <geoname_id>2643743</geoname_id>
    </city>
    <city>
      ...
    </city>
    <traveller>
      <name>Jack London</name>
      <sha1email>0543c807d31ac9cb374fc8338cf9ed7ae9d87b1d</sha1email>
      <icon_id>28c3456daa52346cd97692449ce262c</icon_id>
      <nick>JackLondon</nick>
      <url>http://www.dopplr.com/traveller/JackLondon</url>
    </traveller>
    <traveller>
      ...
    </traveller>
  </search>  

 

Response (JSON):

  {
    "city":[
      {
        "country_code":"GB",
        "name":"London",
        "latitude":51.5,
        "url":"http://localhost:3000/place/gb/london",
        "longitude":-0.116667,
        "geoname_id":2643743
      },
      { ... },
    ],
    "traveller":[
      {
        "name":"Jack London",
        "sha1email":"0543c807d31ac9cb374fc8338cf9ed7ae9d87b1d",
        "icon_id":"28c972345daa3456ca97692449ce262c",
        "nick":"JackLondon",
        "url":"http://www.dopplr.com/traveller/JackLondon"
      },
      { ... }
    ]
  }
  


Page Information

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

Wiki Information

Recent PBwiki Blog Posts