dopplr - a simple Dopplr client
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
dopplr session_token=<session token> [method] [opt[s]]
or if there is a .dopplr file in your home directory that looks like
.dopplr file
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
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
or all subsequent invocations of dopplr should be of the form
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.
Simon Wistow <simon@thegestalt.org>
Copyright 2008, Simon Wistow
Distributed under the same terms as Perl itself.
Net::Dopplr Net::Google::AuthAub
To install Net::Dopplr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Dopplr
CPAN shell
perl -MCPAN -e shell install Net::Dopplr
For more information on module installation, please visit the detailed CPAN module installation guide.