Net::OAuth::LP::Client - Launchpad.net Client routines
If making authenticated requests (GET/POST/PATCH)
my $lp = Net::OAuth::LP::Client->new(consumer_key => 'consumerkey', access_token => 'accesstoken', access_token_secret => 'accesstokensecret');
If just querying publicly accessible Launchpad information (GET)
my $lp = Net::OAuth::LP::Client->new; # Use your launchpad.net name in place of adam-stokes. # You can figure that out by visiting # https://launchpad.net/~/ and look at Launchpad Id. my $person = $lp->person('~adam-stokes');
If called without OAuth credentials only publicly accessible content may be retrieved.
Takes resource link and params, and performs an update to that endpoint.
$lp->post('lp.net/bugs/1', { 'ws.op' => 'newMessage', 'content' => "This is a message"}); =head2 B<search>
Performs a search request against the target distribution.
$lp->search('ubuntu', { 'ws.op' => 'searchTasks', 'ws.size' => '10', 'status' => 'New' });
Access resource endpoints directly, however, once API is feature complete this method shouldn't need to be referenced.
$lp->resource('launchpad_resource_link');
http://github.com/battlemidget/Net-OAuth-LP
You can find documentation for this module with the perldoc command.
perldoc Net::OAuth::LP::Client
Copyright 2013 Adam Stokes.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Net::OAuth::LP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OAuth::LP
CPAN shell
perl -MCPAN -e shell install Net::OAuth::LP
For more information on module installation, please visit the detailed CPAN module installation guide.