NAME
Net::Amazon::Request::Power - request class for 'Power Search'
SYNOPSIS
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::Powermy $resp = $ua->request($req);
DESCRIPTION
"Net::Amazon::Request::Power" is a class used to request so-called Power Searches from the Amazon web service.
The "power" parameter specifies the power search string, "mode" defines which properties to look for.
Upon success, the response's "properties()" method will return a list of "Net::Amazon::Property::*" objects.
METHODS
- new(power => $search_string, mode => $property)
-
Constructs a new
"Net::Amazon::Request::Power"object.$propertyis typically"books". Examples for$search_stringare:author: schwartzauthor: schwartz and pubdate: after 10-2002subject: perl and (objects or object-oriented)keywords: "high tech*" and not fiction and pubdate: during 1999power "author: randal schwartz and publisher: Addison Wesley"author: randal schwartz and title: object booksSee the "Amazon Web Services 2.1 API and Integration Guide" for details.
Check Net::Amazon::Request for common request parameters not listed here.
AUTHORS
Martin Streicher, <[email protected]> Mike Schilli, <[email protected]>