WebService::Simple::AWS - Simple Interface to Amazon Web Service using WebService::Simple
use WebService::Simple::AWS; my $service = WebService::Simple::AWS->new( base_url => 'http://webservices.amazon.com/onca/xml', params => { Version => '2009-03-31', Service => 'AWSECommerceService', id => $ENV{'AWS_ACCESS_KEY_ID'}, secret => $ENV{'AWS_ACCESS_KEY_SECRET'}, }, ); my $res = $service->get( { Operation => 'ItemLookup', ItemId => '0596000278', # Larry's book ResponseGroup => 'ItemAttributes', } ); my $ref = $res->parse_response(); print "$ref->{Items}{Item}{ItemAttributes}{Title}\n";
WebService::Simple::AWS is Simple Interface to Amazon Web Service using WebService::Simple. Add "Signature" and "Timestamp" parameters if accessing to API. Currently this API supports only "Signature Version 2".
See "product_advertising.pl" in eg.
Yusuke Wada <yusuke@kamawada.com>
<yusuke@kamawada.com>
WebSercie::Simple
http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?rest-signature.html
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::Simple::AWS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Simple::AWS
CPAN shell
perl -MCPAN -e shell install WebService::Simple::AWS
For more information on module installation, please visit the detailed CPAN module installation guide.