Net::GitHub::V1(3) (DEPERCATED, use V2) Perl Interface for github.com (V1)

SYNOPSIS


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

# project
my $prj = $github->project( owner => 'fayland', name => 'perl-net-github' );
print $prj->description;
print $prj->public_clone_url;
my @commits = $prj->commits;
foreach my $c ( @commits ) {
my $commit = $prj->commit( $c->{id} );
}
my @downloads = $prj->downloads;
$prj->signin( 'login', 'password' );
$prj->wiki->new_page( 'PageTitle', "Page Content\n\nLine 2\n" );

# user
my $user = $github->user( '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. :)

METHODS

project

    $github->project( owner => 'fayland', name => 'perl-net-github' );
    $github->project( 'fayland', 'perl-net-github' );

instance of Net::GitHub::V1::Project

user

    $github->user( 'fayland' );

instance of Net::GitHub::V1::User

search

    $github->search('fayland');

handled by Net::GitHub::V1::Search

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.