1Net::Amazon::Request::BUrsoewrseCNoondter(i3b)uted PerlNDeotc:u:mAemnatzaotni:o:nRequest::BrowseNode(3)
2
3
4
6 Net::Amazon::Request::BrowseNode - request class for browse node search
7
9 use Net::Amazon;
10 use Net::Amazon::Request::BrowseNode;
11
12 my $ua = Net::Amazon->new(
13 token => 'YOUR_AMZN_TOKEN'
14 );
15
16 my $req = Net::Amazon::Request::BrowseNode->new(
17 browsenode => 30,
18 mode => 'books'
19 );
20
21 # Response is of type Net::Amazon::Response::BrowseNode
22 my $resp = $ua->request($req);
23
25 "Net::Amazon::Request::BrowseNode" is a class used to submit node
26 search requests to the Amazon web service.
27
28 The node to search for is specified in the "browsenode" parameter. The
29 browse node ID is a number that corresponds to a general subject area
30 of Amazon.com.
31
32 To find browse node IDs, the best way is to visit the "browse" area of
33 the various product lines at Amazon.com. When you find a subject area
34 that you would like to generate XML for, look at the web page URL. The
35 browse ID should appear after the string "/tg/browse/-/". Here are some
36 examples of URLs that contain browse IDs:
37
38 http://www.amazon.com/exec/obidos/tg/browse/-/30 (In this example, the
39 browse ID = 30)
40 http://www.amazon.com/exec/obidos/tg/browse/-/467970 (In this example,
41 the browse ID = 467970)
42 http://www.amazon.com/exec/obidos/tg/browse/-/602314 (In this example,
43 the browse ID = 60231
44
45 Please be aware that some nodes cannot be used with a BrowseNodeSearch.
46 (The vast majority of them can, but you may run across a few that
47 simply will not work). It is also important to point out that from time
48 to time, some browse nodes are deprecated or are changed without
49 notice.
50
51 The catalog to search in is specified in the "mode" parameter, typical
52 values are "books", "music", "classical" or "electronics".
53
54 An optional "keywords" parameter may be added to filter the results by
55 that keyword.
56
57 Upon success, the responses' "properties()" method will return a list
58 of "Net::Amazon::Properties::*" objects.
59
60 METHODS
61 new( browsenode => $nodeID, mode => $mode [, keywords => $keywords] )
62 Constructs a new "Net::Amazon::Request::BrowseNode" object, used to
63 query the Amazon web service for items in a particular category
64 (node) in the mode (catalog) specified.
65
66 Check Net::Amazon::Request for common request parameters not listed
67 here.
68
70 Net::Amazon framework by Mike Schilli, <m@perlmeister.com>
71
72 BrowseNode.pm by Jackie Hamilton, <kira@cgi101.com>
73
75 This library is free software; you can redistribute it and/or modify it
76 under the same terms as Perl itself.
77
78
79
80perl v5.32.0 2020-07-28Net::Amazon::Request::BrowseNode(3)