1Net::Amazon::Request::IUSsBeNr(3C)ontributed Perl DocumeNnetta:t:iAomnazon::Request::ISBN(3)
2
3
4
6 Net::Amazon::Request::ISBN- request class for ISBN search
7
9 use Net::Amazon;
10 use Net::Amazon::Request::ISBN;
11
12 my $ua = Net::Amazon->new(
13 token => 'YOUR_AMZN_TOKEN'
14 );
15
16 my $req = Net::Amazon::Request::ISBN->new(
17 isbn => '9783570009222',
18 );
19
20 # Response is of type Net::Amazon::Response::ISBN
21 my $resp = $ua->request($req);
22
24 "Net::Amazon::Request::ISBN" is a class used to submit ISBN
25 (International Standard Book Number) search requests to the Amazon web
26 service.
27
28 The ISBN number to search for is specified in the "ISBN" parameter.
29
30 Upon success, the response's properties() method will return a single
31 "Net::Amazon::Property::Book" object.
32
33 METHODS
34 new(isbn => $isbn)
35 Constructs a new "Net::Amazon::Request::ISBN" object, used to query
36 the Amazon web service for an item with the given ISBN number. As
37 of 2007-01-17 Amazon supports 13-digit ISBNs. To construct a
38 13-digit ISBN from a 10-digit ISBN simply prepended 978 to the
39 ISBN. The ISBN must not contain hyphens.
40
41 It appears that not all 10-digit ISBNs can be turned into 13-digit
42 ISBNs by prepending 978. Amazon lists the 13-digit ISBN alongside
43 10-digit ISBN.
44
46 Christopher Boumenot, <boumenot@gmail.com>
47
49 Copyright 2007 by Christopher Boumenot <boumenot@gmail.com>
50
51 This library is free software; you can redistribute it and/or modify it
52 under the same terms as Perl itself.
53
54
55
56perl v5.36.0 2023-01-20 Net::Amazon::Request::ISBN(3)