Net::GitHub::V1::Project::Source(3pm)

Net::GitHub::V1::Project::Source3pm

Github project source section (v1)

Usage

    use Net::GitHub::V1::Project::Source;
    my $src = Net::GitHub::V1::Project::Source->new(
        owner => 'fayland', name => 'perl-net-github'
    );
    
    # get all commits
    my @commits = $src->commits;
    foreach my $c ( @commits ) {
        my $commit = $src->commit( $c->{id} );
    }

Overview

Methods

commits
    $src->commits;
    $src->commits( 'talks' );

recent commits of a branch, default as 'master'.

if you need a branch other than 'master' (like http://github.com/nothingmuch/kiokudb/tree/talks), you need pass 'talks' in.

commit($id)

a detailed single commit

Author

Fayland Lam, "<fayland at gmail.com>"

From libnet-github-perl 0.22-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.