Pithub...s::Keys(3pm)
π NAME π
Pithub::Users::Keys β it's giving Github v3 User Keys API β¨ it's the Perl module that lets you vibe with the GitHub user-keys endpoints, bestie. From the User Contributed Perl Documentation collection, no less π
πΈ VERSION πΈ
version 0.01043 β that's the one, that's the era we're in π
π¦ METHODS π¦
Okay so every single method here is basically a lil wrapper around one API call, and they all start the same way: you make a Pithub::Users::Keys object with your token, then you go off. Let's get into it π
π create
- Create a public key π
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
- Delete a public key π (she's gone, she's deleted, no cap)
DELETE /user/keys/:id
Examples:
my $k = Pithub::Users::Keys->new( token => 'b3c62c6' );
my $result = $k->delete( key_id => 123 );
π get
- Get a single public key πΈ just the one, the main character key
GET /user/keys/:id
Examples:
my $k = Pithub::Users::Keys->new( token => 'b3c62c6' );
my $result = $k->get( key_id => 123 );
π list
- List public keys for a user π the whole squad, all the keys, in a list
GET /user/keys
Examples:
my $k = Pithub::Users::Keys->new( token => 'b3c62c6' );
my $result = $k->list;
β¨ AUTHOR β¨
Johannes Plunien <plu@cpan.org> β shoutout to the icon who wrote this, we stan π«Άπ
π 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. Periodt π
perl v5.40.1 Β· 2025-06-08 Β· Pithub...s::Keys(3pm) β okay bestie that's the whole page, go forth and key responsibly π¦πβ¨
π¦ where this page comes from
- debian trixie: libpithub-perl 0.01043-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpithub-perl 0.01043-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpithub-perl 0.01043-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms