Net::GitHub::V3::Users man page on Fedora
[printable version]
Net::GitHub::V3::UsersUser Contributed Perl DocumentaNet::GitHub::V3::Users(3)
NAME
Net::GitHub::V3::Users - GitHub Users API
SYNOPSIS
use Net::GitHub::V3;
my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info
my $user = $gh->user;
DESCRIPTION
METHODS
Users
<http://developer.github.com/v3/users/>
show
my $uinfo = $user->show(); # /user
my $uinfo = $user->show( 'nothingmuch' ); # /users/:user
update
$user->update(
bio => 'another Perl programmer and Father',
);
Emails
<http://developer.github.com/v3/users/emails/>
emails
add_email
remove_email
$user->add_email( 'another@email.com' );
$user->add_email( 'batch1@email.com', 'batch2@email.com' );
my $emails = $user->emails;
$user->remove_email( 'another@email.com' );
$user->remove_email( 'batch1@email.com', 'batch2@email.com' );
Followers
<http://developer.github.com/v3/users/followers/>
followers
following
my $followers = $user->followers;
my $followers = $user->followers($user);
my $following = $user->following;
my $following = $user->following($user);
is_following
my $is_following = $user->is_following($user);
follow
unfollow
$user->follow( 'nothingmuch' );
$user->unfollow( 'nothingmuch' );
Keys
<http://developer.github.com/v3/users/keys/>
keys
key
create_key
update_key
delete_key
my $keys = $user->keys;
my $key = $user->key($key_id); # get key
$user->create_key({
title => 'title',
key => $key
});
$user->update_key($key_id, {
title => $title,
key => $key
});
$user->delete_key($key_id);
AUTHOR & COPYRIGHT & LICENSE
Refer Net::GitHub
perl v5.14.2 2012-03-31 Net::GitHub::V3::Users(3)
[top]
List of man pages available for Fedora
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|