NAME

Net::GitHub - Perl Interface for github.com

SYNOPSIS

use Net::GitHub;

# for http://github.com/fayland/perl-net-github/tree/master
my $github = Net::GitHub->new();

# project
my $project = $github->project( owner => 'fayland', name => 'perl-net-github' );
print $project->public_clone_url;
print Dumper(\$project->commits);

# user
my $user = $github->user( username => 'fayland' );
foreach my $repos ( @{ $user->repositories} ) {
    print "$repos->{owner} + $repos->{name}\n";
}

# search
my $result = $github->search( 'fayland' );

DESCRIPTION

http://github.com is a popular git host.

Please feel free to fork http://github.com/fayland/perl-net-github/tree/master, fix or contribute some code. :)

ALPHA WARNING

Net::GitHub is still in its infancy. backwards compatibility is not yet guaranteed.

METHODS

project

instance of Net::GitHub::Project

user

instance of Net::GitHub::User

$github->search('fayland');

handled by Net::GitHub::Search

Git URL

http://github.com/fayland/perl-net-github/tree/master

SEE ALSO

Moose

AUTHOR

Fayland Lam, <fayland at gmail.com>

COPYRIGHT & LICENSE

Copyright 2009 Fayland Lam, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.