NAME
Net::GitHub::V1 - (DEPERCATED, use V2) Perl Interface for github.com (V1)
SYNOPSIS
use Net::GitHub::V1;# for http://github.com/fayland/perl-net-github/tree/mastermy $github = Net::GitHub::V1->new();# projectmy $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" );# usermy $user = $github->user( 'fayland' );foreach my $repos ( @{ $user->repositories} ) {print "$repos->{owner} + $repos->{name}\n";}# searchmy $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
Git URL
<http://github.com/fayland/perl-net-github/tree/master>
SEE ALSO
Any::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.