| Net-Amazon documentation | view source | Contained in the Net-Amazon distribution. |
Net::Amazon::Request::Author - Class for submitting Author requests
use Net::Amazon;
use Net::Amazon::Request::Author;
my $ua = Net::Amazon->new(
token => 'YOUR_AMZN_TOKEN'
);
my $req = Net::Amazon::Request::Author->new(
author => 'James Patterson'
);
# Response is of type Net::Amazon::Response::Author
my $resp = $ua->request($req);
Net::Amazon::Request::Author is a class used to submit Author search
requests to the Amazon web service.
The author to search for is specified in the author parameter.
Upon success, the responses' properties() method will return a list of
Net::Amazon::Property::Book objects.
Check Net::Amazon::Request for common request parameters not listed here.
Constructs a new Net::Amazon::Request::Author object, used to query
the Amazon web service for items of a given author.
Christopher Boumenot, <boumenot@gmail.com>
Copyright 2006 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.
| Net-Amazon documentation | view source | Contained in the Net-Amazon distribution. |