Returns a list of all trips entered by the selected user that have yet to finish.

 

Usage:

GET /api/future_trips_info - get trip list about the logged-in user

GET /api/future_trips_info?traveller=<username> - get trip list about the named user, assuming they consider you a fellow

 

Response (XML):

  <future_trips_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>
      ...
    </trip>
  </future_trips_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
                  }
    },
    { ... },
  ]}
  


Page Information

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

Wiki Information

Recent PBwiki Blog Posts