Net::Amazon::Request - Baseclass for requests to Amazon's web service
my $req = Net::Amazon::Request::XXX->new( [ type => 'heavy', ] [ page => $start_page, ] [ mode => $mode, ] [ offer => 'All', ] [ sort => $sort_type, ] );
Don't use this class directly, use derived classes (like
Net::Amazon::Request::Wishlist etc.) instead to specify the type of request and its parameters.
However, there's a bunch of parameters to the constructor that all request types have in common, here they are:
heavy, but can be set to
liteif no reviews etc. on a product are wanted. Some fields (e.g.
isbn) are not going to be available in
books, but can be set to other catalog values.
1, but can be set to a different number to start with a different result page. Used in conjunction with the
max_pagesparameter of the
pageis the offset,
max_pagesis the maximum number of pages pulled in starting at
+salesrank, but search results can be sorted in various ways, depending on the type of product returned by the search. Search results may be sorted by the following criteria:
Alphabetical (A-Z and Z-A)
Price (High to Low and Low to High)
Publication or Release Date
Average Customer Review
Consult Net::Amazon::Request::Sort for details.
To receive values for the fields
offer => "All".
Mike Schilli, <firstname.lastname@example.org>
Copyright 2003 by Mike Schilli <email@example.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.