NAME

Net::GitHub::V1::Project::Source - GitHub Project Source Section (V1)

SYNOPSIS

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} );
}

DESCRIPTION

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>

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.