Net::OAuth::LP::Models::Person - Person interface
Model interface for retrieving/setting person/team information.
my $c = Net::OAuth::LP::Client->new(consumer_key => 'blah', access_token => 'fdsafsda', access_token_secret => 'fdsafsda'); my $p = Net::OAuth::LP::Models::Person->new(c => $c); $p->find('~adam-stokes'); say $p->display_name;
Return display name
Return description
Return confirmed emails
Return karma
Return irc nickname
Return launchpad name
Return source recipes
Returns time_zone
my $p = Net::OAuth::LP::Models::Person->new;
Queries a person or team resource.
$p->find('~launchpad-user-or-team');
Set launchpad name
$p->set_name('new-name');
Set description
$p->set_description('Im a real boy!');
Sets display name
$p->set_display_name('A Name');
Gets bugs assigned to $person
$p->get_assigned_bugs;
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.