Man pages sections > man3 > Pithub::Users

Pithub::Users - Github v3 Users API

Pithub::Users(3pm) User Contributed Perl Documentation Pithub::Users(3pm)

NAME

Pithub::Users - Github v3 Users API

VERSION

version 0.01033

METHODS

emails

Provides access to Pithub::Users::Emails.

followers

Provides access to Pithub::Users::Followers.

get

Get a single user
 
    GET /users/:user
    
 
Examples:
 
    my $u = Pithub::Users->new;
    my $result = $u->get( user => 'plu');
    
Get the authenticated user
 
    GET /user
    
 
Examples:
 
    my $u = Pithub::Users->new( token => 'b3c62c6' );
    my $result = $u->get;
    

keys

Provides access to Pithub::Users::Keys.

update

Update the authenticated user
 
    PATCH /user
    
 
Examples:
 
    my $u = Pithub::Users->new( token => 'b3c62c6' );
    my $result = $u->update( data => { email => 'plu@cpan.org' } );
    

AUTHOR

Johannes Plunien <plu@cpan.org> This software is copyright (c) 2011 by Johannes Plunien.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2016-02-02 perl v5.22.1