Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::Amazon::Request(3User Contributed Perl DocumentatiNet::Amazon::Request(3)

NAME
       Net::Amazon::Request - Baseclass	for requests to	Amazon's web service

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
       "Net::Amazon::Request::ASIN", 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 "Large",	but can	also be	set to "Medium", or "Small".

	   Large   The "Large" type provides everything	in "Medium" as well as
		   music track information, customer reviews, similar
		   products, offers, and accessory data, i.e. the kitchen
		   sink.

	   Medium  The "Medium"	type provides everything in "Small" as well as
		   sales rank, editorial reviews, and image URLs.

	   Small   The "Small" type provies ASIN, product title, creator
		   (author, artist, etc.), product group, URL, and
		   manufacturer.

       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 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".

       sort
	   Defaults to "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:

	   o	   Featured Items

	   o	   Bestselling

	   o	   Alphabetical	(A-Z and Z-A)

	   o	   Price (High to Low and Low to High)

	   o	   Publication or Release Date

	   o	   Manufacturer

	   o	   Average Customer Review

	   o	   Artist Name

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

       offer
	   To receive values for the fields "CollectibleCount",
	   "NumberOfOfferings",	"UsedCount", specify "offer => "All"".

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.

perl v5.32.0			  2013-01-26	       Net::Amazon::Request(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::Amazon::Request&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help