Pithub::Orgs(3pm)
π Pithub::Orgs π
okay bestie, welcome to Pithub::Orgs β the Github v3 Orgs API wrapper that's literally just here to let you vibe with organizations. no cap. it's giving "small module, big energy." β¨
πΈ VERSION πΈ
this is version 0.01043 β yes, that's the version, we don't make the rules, we just report them π
π¦ METHODS π¦
β¨ get β¨
- Get an organization
GET /orgs/:org
Examples, bestie, copy-paste ready:
my $o = Pithub::Orgs->new;
my $result = $o->get( org => 'CPAN-API' );
β¨ list β¨
- List all public organizations for a user.
GET /users/:user/orgs
Examples:
my $o = Pithub::Orgs->new;
my $result = $o->list( user => 'plu' );
- List public and private organizations for the authenticated user.
GET /user/orgs
Examples:
my $o = Pithub::Orgs->new;
my $result = $o->list;
heads up queen: that second one is the authenticated user's orgs β public and private. so make sure you're actually authenticated, iykyk π
β¨ members β¨
this one Provides access to Pithub::Orgs::Members β it hands you off to its little sibling module. sibling energy fr fr π«Ά
β¨ teams β¨
and this one Provides access to Pithub::Orgs::Teams β same deal, different sibling. two modules, one iconic family π
β¨ update β¨
- Edit an organization
PATCH /orgs/:org
Examples:
my $o = Pithub::Orgs->new;
my $result = $o->update(
org => 'CPAN-API',
data => {
billing_email => 'support@github.com',
blog => 'https://github.com/blog',
company => 'GitHub',
email => 'support@github.com',
location => 'San Francisco',
name => 'github',
}
);
note bestie: it's aPATCH, not aPUTβ so you're editing, not replacing. and everything you wanna change lives inside thatdatahashref. π
π AUTHOR π
Johannes Plunien <plu@cpan.org> β the main character who wrote this. absolute legend, 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. so like, go wild, but respectfully πΈ
and that's the whole page, bestie β go forth and org-ify β¨
this cutie was documented for perl v5.40.1 and dated 2025-06-08, and it's the Pithub::Orgs(3pm) page, so now you know exactly where you are π«Ά
π¦ 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