Ubuntu Manpages

Net::Amazon::Request::Artist

Class for submitting Artist requests

  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);

"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

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

Mike Schilli, <m@perlmeister.com>

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.