SYNOPSIS

    my $req = Net::Amazon::Request::XXX->new(
                     [ type  => 'Large', ]
                     [ page  => $start_page, ]
                     [ mode  => $mode, ]
                     [ offer => 'All', ]
                     [ sort => $sort_type, ]
    );

DESCRIPTION

Don't use this class directly, use derived classes (like \*(C`Net::Amazon::Request::ASIN\*(C', 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 \*(C`Large\*(C', but can also be set to \*(C`Medium\*(C', or \*(C`Small\*(C'.

Large

The \*(C`Large\*(C' type provides everything in \*(C`Medium\*(C' as well as music track information, customer reviews, similar products, offers, and accessory data, i.e. the kitchen sink.

Medium

The \*(C`Medium\*(C' type provides everything in \*(C`Small\*(C' as well as sales rank, editorial reviews, and image URLs.

Small

The \*(C`Small\*(C' type provies \s-1ASIN\s0, product title, creator (author, artist, etc.), product group, \s-1URL\s0, and manufacturer.

mode

Defaults to \*(C`books\*(C', 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 the \*(C`max_pages\*(C' parameter of the \*(C`Net::Amazon\*(C' object. \*(C`page\*(C' is the offset, \*(C`max_pages\*(C' is the maximum number of pages pulled in starting at \*(C`page\*(C'.

sort

Defaults to \*(C`salesrank\*(C', 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:

  • Featured Items

  • Bestselling

  • Alphabetical (A-Z and Z-A)

  • Price (High to Low and Low to High)

  • Publication or Release Date

  • Manufacturer

  • Average Customer Review

  • Artist Name

Consult Net::Amazon::Request::Sort for details.

offer

To receive values for the fields \*(C`CollectibleCount\*(C', \*(C`NumberOfOfferings\*(C', \*(C`UsedCount\*(C', specify \*(C`offer => "All"\*(C'.

AUTHOR

Mike Schilli, <[email protected]>

COPYRIGHT AND LICENSE

Copyright 2003 by Mike Schilli <[email protected]>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.