1Net::Amazon::Request::AUrsteirstC(o3n)tributed Perl DocuNmeetn:t:aAtmiaoznon::Request::Artist(3)
2
3
4
6 Net::Amazon::Request::Artist - Class for submitting Artist requests
7
9 use Net::Amazon;
10 use Net::Amazon::Request::Artist;
11
12 my $ua = Net::Amazon->new(
13 token => 'YOUR_AMZN_TOKEN'
14 );
15
16 my $req = Net::Amazon::Request::Artist->new(
17 artist => 'Zwan'
18 );
19
20 # Response is of type Net::Amazon::Response::Artist
21 my $resp = $ua->request($req);
22
24 "Net::Amazon::Request::Artist" is a class used to submit Artist search
25 requests to the Amazon web service.
26
27 The artist to search for is specified in the "artist" parameter.
28
29 Upon success, the responses' "properties()" method will return a list
30 of "Net::Amazon::Property::Music" objects.
31
32 Check Net::Amazon::Request for common request parameters not listed
33 here.
34
35 METHODS
36 new( artist => $artist )
37 Constructs a new "Net::Amazon::Request::Artist" object, used to
38 query the Amazon web service for items of a given artist.
39
41 Mike Schilli, <m@perlmeister.com>
42
44 Copyright 2003 by Mike Schilli <m@perlmeister.com>
45
46 This library is free software; you can redistribute it and/or modify it
47 under the same terms as Perl itself.
48
49
50
51perl v5.12.4 2009-09-15 Net::Amazon::Request::Artist(3)