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

FreeBSD Manual Pages


home | help
Net::Amazon::Request::UsersContributed PerlNet::Amazon::Request::BrowseNode(3)

       Net::Amazon::Request::BrowseNode	- request class	for browse node	search

	 use Net::Amazon;
	 use Net::Amazon::Request::BrowseNode;

	 my $ua	= Net::Amazon->new(
	     token	 => 'YOUR_AMZN_TOKEN'

	 my $req = Net::Amazon::Request::BrowseNode->new(
	     browsenode	 => 30,
	     mode	 => 'books'

	 # Response is of type Net::Amazon::Response::BrowseNode
	 my $resp = $ua->request($req);

       "Net::Amazon::Request::BrowseNode" is a class used to submit node
       search requests to the Amazon web service.

       The node	to search for is specified in the "browsenode" parameter. The
       browse node ID is a number that corresponds to a	general	subject	area

       To find browse node IDs,	the best way is	to visit the "browse" area of
       the various product lines at	When you find a	subject	area
       that you	would like to generate XML for,	look at	the web	page URL. The
       browse ID should	appear after the string	"/tg/browse/-/". Here are some
       examples	of URLs	that contain browse IDs:	(In this example, the
       browse ID = 30) (In	this example,
       the browse ID = 467970) (In	this example,
       the browse ID = 60231

       Please be aware that some nodes cannot be used with a BrowseNodeSearch.
       (The vast majority of them can, but you may run across a	few that
       simply will not work). It is also important to point out	that from time
       to time,	some browse nodes are deprecated or are	changed	without

       The catalog to search in	is specified in	the "mode" parameter, typical
       values are "books", "music", "classical"	or "electronics".

       An optional "keywords" parameter	may be added to	filter the results by
       that keyword.

       Upon success, the responses' "properties()" method will return a	list
       of "Net::Amazon::Properties::*" objects.

       new( browsenode => $nodeID, mode	=> $mode [, keywords =>	$keywords] )
	   Constructs a	new "Net::Amazon::Request::BrowseNode" object, used to
	   query the Amazon web	service	for items in a particular category
	   (node) in the mode (catalog)	specified.

       Check Net::Amazon::Request for common request parameters	not listed

       Net::Amazon framework by	Mike Schilli, <> by	Jackie Hamilton, <>

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

perl v5.32.1			  2009-09-1Net::Amazon::Request::BrowseNode(3)


Want to link to this manual page? Use this URL:

home | help