1Net::Amazon::Property::UBsoeork(C3o)ntributed Perl DocumNeentt:a:tAimoanzon::Property::Book(3)
2
3
4

NAME

6       Net::Amazon::Property::Book - Class for books on amazon.com
7

SYNOPSIS

9         use Net::Amazon;
10
11         # ...
12
13         if($resp->is_success()) {
14             for my $prop ($resp->properties) {
15                 print join("/", $prop->authors()), " ",
16                       $prop->title(), " ",
17                       $prop->publisher(), " ",
18                       $prop->year(), "\n";
19         }
20

DESCRIPTION

22       "Net::Amazon::Property::Book" is derived from "Net::Amazon::Property"
23       and on top of the all-purpose methods the base class provides, it
24       offers specialized accessors for book parameters.
25
26   METHODS
27       authors()
28           Returns a list of the book's authors. There's also a "author()"
29           method which just returns the first author.
30
31       publisher()
32           Returns the book's publishing company as a string.
33
34       title()
35           Returns the book's title as a string.
36
37       isbn()
38           Returns the book's ISBN number.
39
40       edition()
41           Returns the book's edition.
42
43       ean()
44           Returns the book's EAN number.
45
46       numpages()
47           Returns the number of pages.
48
49       dewey_decimal()
50           Returns the Dewey decimal number, this is for non-fiction only.
51
52           This method is deprecated (2011-10-28) as it does not appear to be
53           returned by Amazon any more.
54
55       publication_date()
56           Returns the publication date.
57
58       ReleaseDate()
59           Returns the release date.
60
61           For historical reasons, this method used to return the publication
62           date.  However, as of version Net::Amazon 0.44 the release date is
63           returned, and a separate "publication_date()" method is available.
64
65       new(xmlref => $xmlref)
66           Initializes an object by passing a hash of hashes structure
67           containing the XML data returned from the service. Usually, this is
68           just used by "Net::Amazon" internally to initialize objects for on
69           backcoming data.
70
71       Check out Net::Amazon::Property for all-purpose accessors, like "year",
72       "OurPrice", "ListPrice", etc.
73

AUTHOR

75       Mike Schilli, <m@perlmeister.com>
76
78       Copyright 2003 by Mike Schilli <m@perlmeister.com>
79
80       This library is free software; you can redistribute it and/or modify it
81       under the same terms as Perl itself.
82
83
84
85perl v5.30.0                      2019-07-26    Net::Amazon::Property::Book(3)
Impressum