DOKK / manpages / debian 12 / libpithub-perl / Pithub::Users.3pm.en
Pithub::Users(3pm) User Contributed Perl Documentation Pithub::Users(3pm)

Pithub::Users - Github v3 Users API

version 0.01040

Provides access to Pithub::Users::Emails.

Provides access to Pithub::Users::Followers.

  • 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;
        

Provides access to Pithub::Users::Keys.

Update the authenticated user

    PATCH /user
    

Examples:

    my $u = Pithub::Users->new( token => 'b3c62c6' );
    my $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.

2022-10-04 perl v5.34.0