NAME
Net::Amazon::Request::ISBN- request class for ISBN search
SYNOPSIS
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);
DESCRIPTION
Net::Amazon::Request::ISBN
is a class used to submit ISBN (International Standard Book Number) search requests to the Amazon web service.
The ISBN number to search for is specified in the ISBN
parameter.
Upon success, the response's properties()
method will return a single Net::Amazon::Property::Book
object.
METHODS
- new(isbn => $isbn)
-
Constructs a new
Net::Amazon::Request::ISBN
object, used to query the Amazon web service for an item with the given ISBN number. As of 2007-01-17 Amazon supports 13-digit ISBNs for non-US locales. To construct a 13-digit ISBN from a 10-digit ISBN simply prepended 978 to the ISBN. The ISBN must not contain hyphens. Note: the documentation about the 2007-01-17 release explicitly states the exact opposite. It states support for 13-ISBN for the US locale, and 13-ISBN support for non-US locales to follow soon.
SEE ALSO
AUTHOR
Christopher Boumenot, <boumenot@gmail.com>
COPYRIGHT AND LICENSE
Copyright 2007 by Christopher Boumenot <boumenot@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.