1Net::Amazon::Request::EUAsNe(r3)Contributed Perl DocumenNteatt:i:oAnmazon::Request::EAN(3)
2
3
4
6 Net::Amazon::Request::EAN - request class for EAN search
7
9 use Net::Amazon;
10 use Net::Amazon::Request::EAN;
11
12 my $ua = Net::Amazon->new(
13 token => 'YOUR_AMZN_TOKEN'
14 );
15
16 my $req = Net::Amazon::Request::EAN->new(
17 ean => '5035822647633',
18 );
19
20 # Response is of type Net::Amazon::Response::EAN
21 my $resp = $ua->request($req);
22
24 "Net::Amazon::Request::EAN" is a class used to submit EAN search
25 requests to the Amazon web service.
26
27 The EAN number to search for is specified in the "EAN" parameter.
28
29 Upon success, the response's "properties()" method will return a single
30 "Net::Amazon::Property" object.
31
32 According to the Amazon E-Commerce Service Developer's Guide
33 (2007-01-15) EAN searches are only valid in DE, JP, and CA only. This
34 is patently false. I think this is a documenation bug, and is actually
35 for valid for non-US only.
36
37 METHODS
38 new(ean => $ean)
39 Constructs a new "Net::Amazon::Request::EAN" object, used to query
40 the Amazon web service for an item with the given EAN number.
41
43 Christopher Boumenot, <boumenot@gmail.com>
44
46 Copyright 2007 by Christopher Boumenot <boumenot@gmail.com>
47
48 This library is free software; you can redistribute it and/or modify it
49 under the same terms as Perl itself.
50
51
52
53perl v5.30.0 2019-07-26 Net::Amazon::Request::EAN(3)