Net::Amazon::Request - Baseclass for requests to Amazon's web service
my $req = Net::Amazon::Request::XXX->new( [ type => 'lite', ] [ page => $start_page, ] [ mode => $mode, ] );
Don't use this class directly, use derived classes (like Net::Amazon::Request::ASIN, Net::Amazon::Request::Wishlist etc.) instead to specify the type of request and its parameters.
Net::Amazon::Request::ASIN
Net::Amazon::Request::Wishlist
However, there's a bunch of parameters to the constructor that all request types have in common, here they are:
Defaults to lite, but can be set to heavy if additional info on a product is wanted.
lite
heavy
Defaults to books, but can be set to other catalog values.
books
Defaults to 1, but can be set to a different number to start with a different result page. Used in conjunction with the max_pages parameter of the Net::Amazon object. page is the offset, max_pages is the maximum number of pages pulled in starting at page.
1
max_pages
Net::Amazon
page
Mike Schilli, <m@perlmeister.com>
Copyright 2003 by Mike Schilli <m@perlmeister.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::Amazon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Amazon
CPAN shell
perl -MCPAN -e shell install Net::Amazon
For more information on module installation, please visit the detailed CPAN module installation guide.