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


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

Index


NAME

Top

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

SYNOPSIS

Top

  use Net::Amazon;
  use Net::Amazon::Request::Artist;

  my $ua = Net::Amazon->new(
      token       => 'YOUR_AMZN_TOKEN'
  );

  my $req = Net::Amazon::Request::Artist->new( 
      artist  => 'Zwan'
  );

    # Response is of type Net::Amazon::Response::Artist
  my $resp = $ua->request($req);

DESCRIPTION

Top

Net::Amazon::Request::Artist is a class used to submit Artist search requests to the Amazon web service.

The artist to search for is specified in the artist parameter.

Upon success, the responses' properties() method will return a list of Net::Amazon::Property::Music objects.

Check Net::Amazon::Request for common request parameters not listed here.

METHODS

new( artist => $artist )

Constructs a new Net::Amazon::Request::Artist object, used to query the Amazon web service for items of a given artist.

AUTHOR

Top

Mike Schilli, <m@perlmeister.com>

COPYRIGHT AND LICENSE

Top


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