dopplr

  • This free trial of Professional Edition is limited to 3 users or less. Contact an admin about purchasing Professional Edition.

 

method:trip_info

Page history last edited by Tom Insam 2 yrs ago

Returns data about a specifit trip

 

Usage:

GET /api/trip_info?trip_id={id} - get information on the trip with the provided ID

 

Response (XML):

  <trip_info>
    <trip>
      <city>
        <country_code>NL</country_code>
        <name>Amsterdam</name>
        <latitude>52.35</latitude>
        <url>http://www.dopplr.com/place/nl/amsterdam</url>
        <longitude>4.91667</longitude>
        <geoname_id>2759794</geoname_id>
      </city>
      <finish>2007-01-21</finish>
      <id>64</id>
      <start>2007-01-20</start>
      <departure>
        <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>
      </departure>
    </trip>
  </trip_info>
  

 

Response (JSON):

  {"trip":{
    "city":{
      "country_code":"NL",
      "name":"Amsterdam",
      "latitude":52.35,
      "url":"http://www.dopplr.com/place/nl/amsterdam",
      "longitude":4.91667,
      "geoname_id":2759794
    },
    "finish":"01/21/2007",
    "tag":[],
    "id":64,
    "start":"01/20/2007",
    "note":[],
    "departure":{
      "country_code":"GB",
      "name":"London",
      "latitude":51.5,
      "url":"http://www.dopplr.com/place/gb/london",
      "longitude":-0.116667,
      "geoname_id":2643743
    }
  }}
  

Comments (0)

You don't have permission to comment on this page.