NAME¶
Net::Amazon::Request::Author - Class for submitting Author requests
SYNOPSIS¶
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);
DESCRIPTION¶
"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.
METHODS¶
- new( author => $author )
- Constructs a new "Net::Amazon::Request::Author"
object, used to query the Amazon web service for items of a given
author.
AUTHORS¶
Christopher Boumenot, <boumenot@gmail.com>
COPYRIGHT AND LICENSE¶
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.