Request class for ean search
use Net::Amazon; use Net::Amazon::Request::EAN; my $ua = Net::Amazon->new( token => 'YOUR_AMZN_TOKEN' ); my $req = Net::Amazon::Request::EAN->new( ean => '5035822647633', ); # Response is of type Net::Amazon::Response::EAN my $resp = $ua->request($req);
\*(C`Net::Amazon::Request::EAN\*(C' is a class used to submit \s-1EAN\s0 search requests to the Amazon web service.
The \s-1EAN\s0 number to search for is specified in the \*(C`EAN\*(C' parameter.
Upon success, the response's \*(C`properties()\*(C' method will return a single \*(C`Net::Amazon::Property\*(C' object.
According to the Amazon E-Commerce Service Developer's Guide (2007-01-15) \s-1EAN\s0 searches are only valid in \s-1DE\s0, \s-1JP\s0, and \s-1CA\s0 only. This is patently false. I think this is a documenation bug, and is actually for valid for non-US only.
Constructs a new \*(C`Net::Amazon::Request::EAN\*(C' object, used to query the Amazon web service for an item with the given \s-1EAN\s0 number.
Christopher Boumenot, <[email protected]>
Copyright 2007 by Christopher Boumenot <[email protected]>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.