-
-
08 Feb 2021 02:48:33 UTC
- Distribution: Pithub
- Module version: 0.01036
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (2)
- Testers (777 / 0 / 0)
- Kwalitee
Bus factor: 1- 98.51% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (102.66KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 16 contributors-
Johannes Plunien
-
Alessandro Ghedini
-
Andreas Marienborg
-
Corey Farwell
-
Florian Ragwitz
-
Graham Ollis
-
Ichinose Shogo
-
Ivan Bessarabov
-
José Joaquín Atria
-
Konboi
-
Michael G. Schwern
-
Olaf Alders
-
Randy Stauner
-
SUZUKI Masashi
-
teckl
-
Zoffix Znet
NAME
Pithub::Orgs - Github v3 Orgs API
VERSION
version 0.01036
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 => 'support@github.com', blog => 'https://github.com/blog', company => 'GitHub', email => 'support@github.com', location => 'San Francisco', name => 'github', } );
AUTHOR
Johannes Plunien <plu@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011-2019 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.
Module Install Instructions
To install Pithub, copy and paste the appropriate command in to your terminal.
cpanm Pithub
perl -MCPAN -e shell install Pithub
For more information on module installation, please visit the detailed CPAN module installation guide.