NAME
dopplr - a simple Dopplr client
USAGE
First off you'll need to get a session token. See below for details.
After that all invocations of dopplr
should be of the form
dopplr session_token=<session token> [method] [opt[s]]
or if there is a .dopplr file
in your home directory that looks like
session_token=<session token>
Then that will be used instead.
Assuming you're using the .dopplr
then after that simply call dopplr
dopplr
to get a list of all your future trips. Alternatively supply a method name and then the options, as described on the Dopplr wiki here
http://dopplr.pbwiki.com/API+Resource+URLs
Some examples
dopplr trips_info
dopplr trip_info trip_id=<trip_id>
dopplr fellows
dopplr location_on_date date=2008-04-22
dopplr search q=london,england
dopplr city_search q=london,england
AUTHENTICATION AND USER TOKENS
You need to get a token by visiting this url
https://www.dopplr.com/api/AuthSubRequest?next=http%3A%2F%2Fwww.example.com%2Fdopplrapi&scope=http%3A%2F%2Fwww.dopplr.com%2F&session=1
and then grabbing the token from the url it redirects to. Yes, that's icky.
Ten put that as
token=<token>
in a .dopplr
file in your home directory or call
dopplr token=<token>
And this will give you a session token. You should stick that in the .dopplr
file as
session_token=<session token>
or all subsequent invocations of dopplr
should be of the form
dopplr session_token=<session token> [method] [opt[s]]
ABOUT
Dopplr is an online service for intelligent business travellers.
Dopplr lets you share your future travel plans privately with friends and colleagues. The service then highlights coincidence, for example, telling you that three people you know will be in Paris when you will be there too. You can use Dopplr on your personal computer and mobile phone. It links with online calendars and social networks.
AUTHOR
Simon Wistow <simon@thegestalt.org>
COPYRIGHT
Copyright 2008, Simon Wistow
Distributed under the same terms as Perl itself.