Returns data about all trips with a specific tag (see Tags)

 

Usage:

GET /api/tag?tag=<tagname> - get trips of the current user tagged with this tag

GET /api/tag?traveller=<username>&tag=<tagname> - get trips of the named user tagged with this tag

 

Response (XML):

  <tag>
    <trip>
      <city>
        <country_code>GB</country_code>
        <name>Oxford</name>
        <latitude>51.7522</latitude>
        <url>http://www.dopplr.com/place/gb/oxford</url>
        <longitude>-1.25596</longitude>
        <geoname_id>2640729</geoname_id>
      </city>
      <finish>2007-07-25</finish>
      <tag>upcoming:event=200486</tag>
      <tag>upcoming:tag=Social</tag>
      <tag>upcoming:tag=oxfordgeeks</tag>
      <tag>upcoming:tag=oxford</tag>
      <id>12297</id>
      <start>2007-07-25</start>
      <note>
        <updated_at>Mon Jun 25 04:17:06 +0100 2007</updated_at>
        <body>Oxford Geek Night 3</body>
        <traveller_url>http://www.dopplr.com/traveller/mattb</traveller_url>
        <traveller_name>Matt Biddulph</traveller_name>
        <traveller_nick>mattb</traveller_nick>
        <created_at>Mon Jun 25 04:17:06 +0100 2007</created_at>
      </note>
      <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>
  </tag>
  

 

Response (JSON):

  {"trip":[
    { "city":{ ...[City|JSON City description]... },
      "finish":"07/25/2007",
      "tag":[
        "upcoming:event=200486",
        "upcoming:tag=Social",
        "upcoming:tag=oxfordgeeks",
        "upcoming:tag=oxford"
      ],
      "id":12297,
      "start":"07/25/2007",
      "note":[
        {"updated_at":"06/25/2007 04:17:06 BST",
         "body":"Oxford Geek Night 3",
         "traveller_url":"http://www.dopplr.com/traveller/mattb",
         "traveller_name":"Matt Biddulph",
         "traveller_nick":"mattb",
         "created_at":"06/25/2007 04:17:06 BST"
        }
      ],
      "departure":{ ...[City|JSON City description]... }
    },
    { .. }
  ]}
  


Page Information

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

Wiki Information

Recent PBwiki Blog Posts