1Net::Amazon::Request::KUesyewrorCdo(n3t)ributed Perl DocNuemte:n:tAamtaizoonn::Request::Keyword(3)
2
3
4

NAME

6       Net::Amazon::Request::Keyword - request class for keyword search
7

SYNOPSIS

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

DESCRIPTION

25       "Net::Amazon::Request::Keyword" is a class used to submit keyword
26       search requests to the Amazon web service.
27
28       The keyword to search for is specified in the "keyword" parameter.
29
30       The catalog to search in is specified in the "mode" parameter, typical
31       values are "books", "music", "classical" or "electronics".
32
33       Upon success, the responses' "properties()" method will return a list
34       of "Net::Amazon::Property::*" objects.
35
36   METHODS
37       new( keyword => $keyword, mode => $mode )
38           Constructs a new "Net::Amazon::Request::Keyword" object, used to
39           query the Amazon web service for items matching a given keyword in
40           the mode (catalog) specified.
41
42       Check Net::Amazon::Request for common request parameters not listed
43       here.
44

AUTHOR

46       Mike Schilli, <m@perlmeister.com>
47
49       Copyright 2003 by Mike Schilli <m@perlmeister.com>
50
51       This library is free software; you can redistribute it and/or modify it
52       under the same terms as Perl itself.
53
54
55
56perl v5.28.0                      2009-09-15  Net::Amazon::Request::Keyword(3)
Impressum