Bintray-API
view release on metacpan or search on metacpan
lib/Bintray/API/Session.pm view on Meta::CPAN
debug => {
type => BOOLEAN,
default => 0,
},
},
);
# Set API URL
$opts{apiurl} = 'https://bintray.com/api/v1';
# Check for credentials
if ( $opts{username} and $opts{apikey} ) {
$opts{hascreds} = 1;
}
# Init HTTP Client
$opts{client} = HTTP::Tiny->new(
agent => 'perl-bintray-api-client',
default_headers => {
'Accept' => 'application/json',
'Content-Type' => 'application/json',
( run in 0.664 second using v1.01-cache-2.11-cpan-4d50c553e7e )