Pithub::Users - Github v3 Users API
version 0.01001
Get a single user
GET /users/:user
Get the authenticated user
GET /user
Examples:
$p = Pithub->new; $result = $p->users->get( user => 'plu'); $p = Pithub->new( token => 'b3c62c6' ); $result = $p->users->get; $u = Pithub::Users->new; $result = $u->get( user => 'plu'); $u = Pithub::Users->new( token => 'b3c62c6' ); $result = $u->get;
Update the authenticated user
PATCH /user
$p = Pithub->new( token => 'b3c62c6' ); $result = $p->users->update( data => { email => 'plu@cpan.org' } ); $u = Pithub::Users->new( token => 'b3c62c6' ); $result = $u->update( data => { email => 'plu@cpan.org' } );
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.
To install Pithub, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pithub
CPAN shell
perl -MCPAN -e shell install Pithub
For more information on module installation, please visit the detailed CPAN module installation guide.