1Net::Amazon::Request::SUismeirlaCro(n3t)ributed Perl DocNuemte:n:tAamtaizoonn::Request::Similar(3)
2
3
4
6 Net::Amazon::Request::Similar - request class for 'Similarities Search'
7
9 use Net::Amazon;
10 use Net::Amazon::Request::Similar;
11
12 my $ua = Net::Amazon->new(
13 token => 'YOUR_AMZN_TOKEN'
14 );
15
16 my $req = Net::Amazon::Request::Similar->new(
17 similar => 'B00005B6TL',
18 );
19
20 # Response is of type Net::Amazon::Response::Similar
21 my $resp = $ua->request($req);
22
24 "Net::Amazon::Request::Similar" is a class used to request so-called
25 Similarities Searches from the Amazon web service.
26
27 The "asin" parameter specifies the ASIN of the item which you want to
28 get similar items for.
29
30 Upon success, the response's properties() method will return a list of
31 "Net::Amazon::Property::*" objects.
32
33 METHODS
34 new(similar => $asin)
35 Constructs a new "Net::Amazon::Request::Similar" object.
36
37 Check Net::Amazon::Request for common request parameters not listed
38 here.
39
41 Mike Schilli, <m@perlmeister.com>
42
44 Copyright 2003 by Mike Schilli <m@perlmeister.com>
45
46 This library is free software; you can redistribute it and/or modify it
47 under the same terms as Perl itself.
48
49
50
51perl v5.38.0 2023-07-21 Net::Amazon::Request::Similar(3)