Request class for 'power search'
use Net::Amazon; use Net::Amazon::Request::Power; my $ua = Net::Amazon->new( token => 'YOUR_AMZN_TOKEN' ); my $req = Net::Amazon::Request::Power->new( power => 'subject: perl and author: schwartz', mode => 'books', ); # Response is of type Net::Amazon::Response::Power my $resp = $ua->request($req);
\*(C`Net::Amazon::Request::Power\*(C' is a class used to request so-called Power Searches from the Amazon web service.
The \*(C`power\*(C' parameter specifies the power search string, \*(C`mode\*(C' defines which properties to look for.
Upon success, the response's \*(C`properties()\*(C' method will return a list of \*(C`Net::Amazon::Property::*\*(C' objects.
Constructs a new \*(C`Net::Amazon::Request::Power\*(C' object. $property is typically "books". Examples for $search_string are: author: schwartz
author: schwartz and pubdate: after 10-2002
subject: perl and (objects or object-oriented)
keywords: "high tech*" and not fiction and pubdate: during 1999
power "author: randal schwartz and publisher: Addison Wesley"
author: randal schwartz and title: object books See the \*(L"Amazon Web Services 2.1 \s-1API\s0 and Integration Guide\*(R" for details.
Check Net::Amazon::Request for common request parameters not listed here.
Martin Streicher, <[email protected]> Mike Schilli, <[email protected]>