Search results can be sorted in various ways, depending on the type of product returned by the search. If a sort parameter isn't specified in the request, the results will be ordered as if the +salesrank value is specified.
+---------------------------------------------------+ | Sort Type | Value | |-------------------------+-------------------------+ | Featured Items | +pmrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Average Customer Review | +reviewrank | |-------------------------+-------------------------+ | Price (Low to High) | +pricerank | |-------------------------+-------------------------+ | Price (High to Low) | +inverse-pricerank | |-------------------------+-------------------------+ | Publication Date | +daterank | |-------------------------+-------------------------+ | Alphabetical (A-Z) | +titlerank | |-------------------------+-------------------------+ | Alphabetical (Z-A) | -titlerank | +---------------------------------------------------+
+---------------------------------------------------+ | Sort Type | Value | |-------------------------+-------------------------+ | Featured items | +pmrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical | +titlerank | |-------------------------+-------------------------+ | Price (High to Low) | +price | |-------------------------+-------------------------+ | Price (Low to High) | -price | +---------------------------------------------------+
+---------------------------------------------------+ | Sort Type | Value | |-------------------------+-------------------------+ | Featured Items | +psrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical (A-Z) | +titlerank | |-------------------------+-------------------------+ | Alphabetical (Z-A) | -titlerank | |-------------------------+-------------------------+ | Manufacturer (A-Z) | +manufactrank | |-------------------------+-------------------------+ | Manufacturer (Z-A) | -manufactrank | |-------------------------+-------------------------+ | Price (Low to High) | +price | |-------------------------+-------------------------+ | Price (High to Low) | -price | +---------------------------------------------------+
+---------------------------------------------------+ | Sort Type | Value | |-------------------------+-------------------------+ | Featured Items | +pmrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical (A-Z) | +titlerank | |-------------------------+-------------------------+ | Alphabetical (Z-A) | -titlerank | +---------------------------------------------------+
+---------------------------------------------------+ | Sort Type | Value | |-------------------------+-------------------------+ | Featured Items | +psrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical (A-Z) | +titlerank | |-------------------------+-------------------------+ | Alphabetical (Z-A) | -titlerank | +---------------------------------------------------+
+---------------------------------------------------+ | Sort Type | Value | |-------------------------+-------------------------+ | Featured Items | +pmrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical | +titlerank | |-------------------------+-------------------------+ | Price (Low to High) | +price | |-------------------------+-------------------------+ | Price (High to Low) | -price | +---------------------------------------------------+
+---------------------------------------------------+ | Sort Type | Value | |-------------------------+-------------------------+ | Featured Items | +psrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Artist Name | +artistrank | |-------------------------+-------------------------+ | Original Release Date | +orig-rel-date | |-------------------------+-------------------------+ | Alphabetical | +titlerank | +---------------------------------------------------+
+---------------------------------------------------+ | Sort Type | Value | |-------------------------+-------------------------+ | Featured Items | +pmrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical (A-Z) | +titlerank | |-------------------------+-------------------------+ | Alphabetical (Z-A) | -titlerank | |-------------------------+-------------------------+ | Price (Low to High) | +price | |-------------------------+-------------------------+ | Price (High to Low) | -price | |-------------------------+-------------------------+ | Review | +reviewrank | +---------------------------------------------------+
+---------------------------------------------------+ | Sort Type | Value | |-------------------------+-------------------------+ | Featured Items | +psrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical | +titlerank | +---------------------------------------------------+
+---------------------------------------------------+ | Type | Value | |-------------------------+-------------------------+ | Featured Items | +pmrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical | +titlerank | |-------------------------+-------------------------+ | Review | +reviewrank | +---------------------------------------------------+
+---------------------------------------------------+ | Type | Value | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical | +titlerank | +---------------------------------------------------+
+---------------------------------------------------+ | Type | Value | |-------------------------+-------------------------+ | Featured Items | +pmrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Alphabetical (A-Z) | +titlerank | |-------------------------+-------------------------+ | Alphabetical (Z-A) | -titlerank | |-------------------------+-------------------------+ | Manufacturer (A-Z) | +manufactrank | |-------------------------+-------------------------+ | Manufacturer (Z-A) | -manufactrank | |-------------------------+-------------------------+ | Price (Low to High) | +price | |-------------------------+-------------------------+ | Price (High to Low) | -price | +---------------------------------------------------+
+---------------------------------------------------+ | Type | Value | |-------------------------+-------------------------+ | Featured Items | +pmrank | |-------------------------+-------------------------+ | Bestselling | +salesrank | |-------------------------+-------------------------+ | Price (Low to High) | +pricerank | |-------------------------+-------------------------+ | Price (High to Low) | +inverse-pricerank | |-------------------------+-------------------------+ | Alphabetical (A-Z) | +titlerank | +---------------------------------------------------+
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.