Pithub::GitData::Blobs
version 0.01000
Create a Blob
POST /repos/:user/:repo/git/blobs
Examples:
$result = $p->git_data->blobs->create( user => 'plu', repo => 'Pithub', data => { content => 'Content of the blob', encoding => 'utf-8', } );
Get a Blob
GET /repos/:user/:repo/git/blobs/:sha
$result = $p->git_data->blobs->get( user => 'plu', repo => 'Pithub', sha => 'df21b2660fb6', );
To install Pithub, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pithub
CPAN shell
perl -MCPAN -e shell install Pithub
For more information on module installation, please visit the detailed CPAN module installation guide.