Backblaze-B2V2Client
view release on metacpan or search on metacpan
lib/Backblaze/B2V2Client.pm view on Meta::CPAN
}
# initiate class with my keys + WWW::Mechanize object
my $self = bless {
'application_key_id' => $application_key_id,
'application_key' => $application_key,
'mech' => WWW::Mechanize->new(
timeout => 60,
autocheck => 0,
cookie_jar => {},
keep_alive => 1,
),
}, $class;
# now start our B2 session via method below
$self->b2_authorize_account(); # this adds more goodness to $self for use in the other methods
return $self;
}
# method to start your backblaze session: authorize the account and get your api URL's
( run in 1.288 second using v1.01-cache-2.11-cpan-df04353d9ac )