Pithub::Orgs(3pm)

πŸ“¦
version 0.01043 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 a PATCH, not a PUT β€” so you're editing, not replacing. and everything you wanna change lives inside that data hashref. πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Johannes Plunien <plu@cpan.org> β€” the main character who wrote this. absolute legend, we stan πŸ’œ


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