1Net::Amazon::Request::PUosweerr(C3o)ntributed Perl DocumNeentt:a:tAimoanzon::Request::Power(3)
2
3
4

NAME

6       Net::Amazon::Request::Power - request class for 'Power Search'
7

SYNOPSIS

9         use Net::Amazon;
10         use Net::Amazon::Request::Power;
11
12         my $ua = Net::Amazon->new(
13             token       => 'YOUR_AMZN_TOKEN'
14         );
15
16         my $req = Net::Amazon::Request::Power->new(
17             power => 'subject: perl and author: schwartz',
18             mode  => 'books',
19         );
20
21           # Response is of type Net::Amazon::Response::Power
22         my $resp = $ua->request($req);
23

DESCRIPTION

25       "Net::Amazon::Request::Power" is a class used to request so-called
26       Power Searches from the Amazon web service.
27
28       The "power" parameter specifies the power search string, "mode" defines
29       which properties to look for.
30
31       Upon success, the response's "properties()" method will return a list
32       of "Net::Amazon::Property::*" objects.
33
34   METHODS
35       new(power => $search_string, mode => $property)
36           Constructs a new "Net::Amazon::Request::Power" object. $property is
37           typically "books". Examples for $search_string are:
38
39               author: schwartz
40
41               author: schwartz and pubdate: after 10-2002
42
43               subject: perl and (objects or object-oriented)
44
45               keywords: "high tech*" and not fiction and pubdate: during 1999
46
47               power "author: randal schwartz and publisher: Addison Wesley"
48
49               author: randal schwartz and title: object books
50
51           See the "Amazon Web Services 2.1 API and Integration Guide" for
52           details.
53
54       Check Net::Amazon::Request for common request parameters not listed
55       here.
56

AUTHORS

58       Martin Streicher, <martin.streicher@apress.com> Mike Schilli,
59       <m@perlmeister.com>
60
61
62
63perl v5.12.4                      2009-09-15    Net::Amazon::Request::Power(3)
Impressum