Pithub::Users::Keys(3pm) | User Contributed Perl Documentation | Pithub::Users::Keys(3pm) |
Pithub::Users::Keys - Github v3 User Keys API
version 0.01036
POST /user/keys
Examples:
my $k = Pithub::Users::Keys->new( token => 'b3c62c6' ); my $result = $k->create( data => { title => 'plu@localhost', key => 'ssh-rsa AAA...', } );
DELETE /user/keys/:id
Examples:
my $k = Pithub::Users::Keys->new( token => 'b3c62c6' ); my $result = $k->delete( key_id => 123 );
GET /user/keys/:id
Examples:
my $k = Pithub::Users::Keys->new( token => 'b3c62c6' ); my $result = $k->get( key_id => 123 );
GET /user/keys
Examples:
my $k = Pithub::Users::Keys->new( token => 'b3c62c6' ); my $result = $k->list;
Johannes Plunien <plu@cpan.org>
This software is copyright (c) 2011-2019 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.
2021-02-15 | perl v5.32.1 |