|
NAMENet::GitHub::V3::GitData - GitHub Git DB APISYNOPSISuse Net::GitHub::V3; my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info my $git_data = $gh->git_data; DESCRIPTIONTo ease the keyboard, we provied two ways to call any method which starts with :user/:repo1. SET user/repos before call methods below $gh->set_default_user_repo('fayland', 'perl-net-github'); # take effects for all $gh-> $git_data->set_default_user_repo('fayland', 'perl-net-github'); # only take effect to $gh->pull_request my $blob = $git_data->blob($sha); 2. If it is just for once, we can pass :user, :repo before any arguments my $blob = $git_data->blob($user, $repo, $sha); METHODSGit Data<http://developer.github.com/v3/git/> Blob
Commits <http://developer.github.com/v3/git/commits/>
Refs <http://developer.github.com/v3/git/refs/>
Tags <http://developer.github.com/v3/git/tags/>
<http://developer.github.com/v3/git/trees/>
AUTHOR & COPYRIGHT & LICENSERefer Net::GitHub
Visit the GSP FreeBSD Man Page Interface. |