NAME
Pithub::Users - Github v3 Users API
VERSION
version 0.01003
METHODS
get
Get a single user
GET /users/:user
Examples:
$p = Pithub->new; $result = $p->users->get( user => 'plu'); $u = Pithub::Users->new; $result = $u->get( user => 'plu');
Get the authenticated user
GET /user
Examples:
$p = Pithub->new( token => 'b3c62c6' ); $result = $p->users->get; $u = Pithub::Users->new( token => 'b3c62c6' ); $result = $u->get;
update
Update the authenticated user
PATCH /user
Examples:
$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' } );
AUTHOR
Johannes Plunien <plu@cpan.org>
COPYRIGHT AND LICENSE
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.