App::gh::API - Github API class
Search repositories
To fork [repo] from [user].
Show repository networks of [user]'s [repo].
Show user info
args:
name => description => homepage => public => 1 for public , 0 for private.
Which returnes a hashref:
{ 'owner' => 'c9s', 'has_downloads' => bless( do{\(my $o = 1)}, 'JSON::Boolean' ), 'has_issues' => $VAR1->{'repository'}{'has_downloads'}, 'name' => 'App-gh', 'private' => bless( do{\(my $o = 0)}, 'JSON::Boolean' ), 'has_wiki' => $VAR1->{'repository'}{'has_downloads'}, 'pushed_at' => '2010/11/13 09:15:44 -0800', 'description' => 'Powerful GitHub Helper Utility in Perl.', 'forks' => 6, 'watchers' => 23, 'fork' => $VAR1->{'repository'}{'private'}, 'created_at' => '2010/07/20 22:58:00 -0700', 'url' => 'https://github.com/c9s/App-gh', 'open_issues' => 4 }
Set the info of a repo. Hash can contain the following args:
description => homepage => public => 1 for public , 0 for private.
These are the same args as repo_create, except for name.
Set a repo to be public or private.
The returned structure:
http://developer.github.com/v3/pulls/
To install App::gh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::gh
CPAN shell
perl -MCPAN -e shell install App::gh
For more information on module installation, please visit the detailed CPAN module installation guide.