Scroll to navigation

Net::Amazon::Request::Artist(3pm) User Contributed Perl Documentation Net::Amazon::Request::Artist(3pm)
 

NAME

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

SYNOPSIS

  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

"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

Mike Schilli, <m@perlmeister.com>

COPYRIGHT AND LICENSE

Copyright 2003 by Mike Schilli <m@perlmeister.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2009-09-15 perl v5.14.2