1Net::Amazon::Request::AUustehrorC(o3n)tributed Perl DocuNmeetn:t:aAtmiaoznon::Request::Author(3)
2
3
4
6 Net::Amazon::Request::Author - Class for submitting Author requests
7
9 use Net::Amazon;
10 use Net::Amazon::Request::Author;
11
12 my $ua = Net::Amazon->new(
13 token => 'YOUR_AMZN_TOKEN'
14 );
15
16 my $req = Net::Amazon::Request::Author->new(
17 author => 'James Patterson'
18 );
19
20 # Response is of type Net::Amazon::Response::Author
21 my $resp = $ua->request($req);
22
24 "Net::Amazon::Request::Author" is a class used to submit Author search
25 requests to the Amazon web service.
26
27 The author to search for is specified in the "author" parameter.
28
29 Upon success, the responses' "properties()" method will return a list
30 of "Net::Amazon::Property::Book" objects.
31
32 Check Net::Amazon::Request for common request parameters not listed
33 here.
34
35 METHODS
36 new( author => $author )
37 Constructs a new "Net::Amazon::Request::Author" object, used to
38 query the Amazon web service for items of a given author.
39
41 Christopher Boumenot, <boumenot@gmail.com>
42
44 Copyright 2006 by Christopher Boumenot, <boumenot@gmail.com>
45
46 This library is free software; you can redistribute it and/or modify it
47 under the same terms as Perl itself.
48
49
50
51perl v5.32.0 2020-07-28 Net::Amazon::Request::Author(3)