1Net::Amazon::Request(3)User Contributed Perl DocumentatioNnet::Amazon::Request(3)
2
3
4

NAME

6       Net::Amazon::Request - Baseclass for requests to Amazon's web service
7

SYNOPSIS

9           my $req = Net::Amazon::Request::XXX->new(
10                            [ type  => 'Large', ]
11                            [ page  => $start_page, ]
12                            [ mode  => $mode, ]
13                            [ offer => 'All', ]
14                            [ sort => $sort_type, ]
15           );
16

DESCRIPTION

18       Don't use this class directly, use derived classes (like
19       "Net::Amazon::Request::ASIN", etc.) instead to specify the type of
20       request and its parameters.
21
22       However, there's a bunch of parameters to the constructor that all
23       request types have in common, here they are:
24
25       type
26           Defaults to "Large", but can also be set to "Medium", or "Small".
27
28           Large   The "Large" type provides everything in "Medium" as well as
29                   music track information, customer reviews, similar
30                   products, offers, and accessory data, i.e. the kitchen
31                   sink.
32
33           Medium  The "Medium" type provides everything in "Small" as well as
34                   sales rank, editorial reviews, and image URLs.
35
36           Small   The "Small" type provies ASIN, product title, creator
37                   (author, artist, etc.), product group, URL, and
38                   manufacturer.
39
40       mode
41           Defaults to "books", but can be set to other catalog values.
42
43       page
44           Defaults to 1, but can be set to a different number to start with a
45           different result page. Used in conjunction with the "max_pages"
46           parameter of the "Net::Amazon" object. "page" is the offset,
47           "max_pages" is the maximum number of pages pulled in starting at
48           "page".
49
50       sort
51           Defaults to "salesrank", but search results can be sorted in
52           various ways, depending on the type of product returned by the
53           search.  Search results may be sorted by the following criteria:
54
55           •       Featured Items
56
57           •       Bestselling
58
59           •       Alphabetical (A-Z and Z-A)
60
61           •       Price (High to Low and Low to High)
62
63           •       Publication or Release Date
64
65           •       Manufacturer
66
67           •       Average Customer Review
68
69           •       Artist Name
70
71           Consult Net::Amazon::Request::Sort for details.
72
73       offer
74           To receive values for the fields "CollectibleCount",
75           "NumberOfOfferings", "UsedCount", specify "offer => "All"".
76

AUTHOR

78       Mike Schilli, <m@perlmeister.com>
79
81       Copyright 2003 by Mike Schilli <m@perlmeister.com>
82
83       This library is free software; you can redistribute it and/or modify it
84       under the same terms as Perl itself.
85
86
87
88perl v5.36.0                      2023-01-20           Net::Amazon::Request(3)
Impressum