Net::Akamai3pm
Utility to interface with akamai's api
Usage
my $data = new Net::Akamai::RequestData(email=>'[email protected]',user => 'myuser',pwd => 'mypass');$data->add_url('http://www.myurl.com');$data->add_url('http://www.myurl.com/somethingelse');my $ap = new Net::Akamai(req_data=>$data);my $res = $ap->purge;if (!$res->accepted) {die "$res";}elsif ($res->warning) {warn "$res";}
Overview
Handles akamai purge request of multiple URLs
Patches welcome for extra functionality
Attributes
soap_version
SOAP::Lite version
proxy
akamai purge proxy
uri
akamai purge uri
soap
SOAP::Lite object
req_data
Net::Akamai::RequestData object to hold data associated with an akamai request
res_data
Net::Akamai::ResponseData object holds data associated with an akamai response
Methods
purge
initiate the purge request
Todo
- more tests and doc
- support to read urls from file
- better error checking and failure reporting
Contributors
Aran Deltac <[email protected]>
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 4 times.