Pithub::Users(3)

NAME
Pithub::Users - Github v3 Users API

VERSION
version 0.01043

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>

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.