Pithub::Orgs(3pm)

Pithub::Orgs3pm

Github v3 orgs api

Version

version 0.01043

Methods

get

•

Get an organization

    GET /orgs/:org

Examples:

    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;

members

Provides access to Pithub::Orgs::Members.

teams

Provides access to Pithub::Orgs::Teams.

update

•

Edit an organization

    PATCH /orgs/:org

Examples:

    my $o = Pithub::Orgs->new;
    my $result = $o->update(
        org  => 'CPAN-API',
        data => {
            billing_email => '[email protected]',
            blog          => 'https://github.com/blog',
            company       => 'GitHub',
            email         => '[email protected]',
            location      => 'San Francisco',
            name          => 'github',
        }
    );

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Johannes Plunien <[email protected]>

From libpithub-perl 0.01043-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.