Net::amazon::request::isbn- request class for isbn search
use Net::Amazon; use Net::Amazon::Request::ISBN; my $ua = Net::Amazon->new( token => 'YOUR_AMZN_TOKEN' ); my $req = Net::Amazon::Request::ISBN->new( isbn => '9783570009222', ); # Response is of type Net::Amazon::Response::ISBN my $resp = $ua->request($req);
\*(C`Net::Amazon::Request::ISBN\*(C' is a class used to submit \s-1ISBN\s0 (International Standard Book Number) search requests to the Amazon web service.
The \s-1ISBN\s0 number to search for is specified in the \*(C`ISBN\*(C' parameter.
Upon success, the response's \*(C`properties()\*(C' method will return a single \*(C`Net::Amazon::Property::Book\*(C' object.
Constructs a new \*(C`Net::Amazon::Request::ISBN\*(C' object, used to query the Amazon web service for an item with the given \s-1ISBN\s0 number. As of 2007-01-17 Amazon supports 13-digit ISBNs. To construct a 13-digit \s-1ISBN\s0 from a 10-digit \s-1ISBN\s0 simply prepended 978 to the \s-1ISBN\s0. The \s-1ISBN\s0 must not contain hyphens. It appears that not all 10-digit ISBNs can be turned into 13-digit ISBNs by prepending 978. Amazon lists the 13-digit \s-1ISBN\s0 alongside 10-digit \s-1ISBN\s0.
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.