NAME
Net::Amazon::Request - Baseclass for requests to Amazon's web service
SYNOPSIS
my $req = Net::Amazon::Request::XXX->new(
[ type => 'heavy', ]
[ page => $start_page, ]
[ mode => $mode, ]
);
DESCRIPTION
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.
However, there's a bunch of parameters to the constructor that all request types have in common, here they are:
- type
-
Defaults to
heavy
, but can be set tolite
if no reviews etc. on a product are wanted. - mode
-
Defaults to
books
, but can be set to other catalog values. - page
-
Defaults to
1
, but can be set to a different number to start with a different result page. Used in conjunction with themax_pages
parameter of theNet::Amazon
object.page
is the offset,max_pages
is the maximum number of pages pulled in starting atpage
.
SEE ALSO
AUTHOR
Mike Schilli, <m@perlmeister.com>
COPYRIGHT AND LICENSE
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.