NAME
Pithub::Orgs
VERSION
version 0.01000
METHODS
get
Get an organization
GET /orgs/:org
Examples:
$result = $p->orgs->get( org => 'CPAN-API' );
list
List all public organizations for a user.
GET /users/:user/orgs
Examples:
$result = $p->orgs->list( user => 'plu' );
List public and private organizations for the authenticated user.
GET /user/orgs
Examples:
$result = $p->orgs->list;
update
Edit an organization
PATCH /orgs/:org
Examples:
$result = $p->orgs->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',
}
);