Net::Amazon::Request::Author - Class for submitting Author requests


Net-Amazon documentation  | view source Contained in the Net-Amazon distribution.

Index


NAME

Top

Net::Amazon::Request::Author - Class for submitting Author requests

SYNOPSIS

Top

  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

Top

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

Top

Christopher Boumenot, <boumenot@gmail.com>

COPYRIGHT AND LICENSE

Top


Net-Amazon documentation  | view source Contained in the Net-Amazon distribution.