Net::Am...:Artist(3)
π Net::Am...:Artist(3) π
okay so bestie, this is a page from the User Contributed Perl Documentation section, and it's literally all about Net::Amazon::Request::Artist β a whole class whose entire job is submitting Artist requests. she's a specialist. she's booked. she's thriving. π
β¨ NAME β¨
Net::Amazon::Request::Artist β Class for submitting Artist requests. that's it, that's the whole identity, no notes. π
π SYNOPSIS π
here's the vibe, copy-paste ready, don't touch the code bestie, it's sacred:
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);
like, look at her go. Zwan?? iconic choice. π
π¦ DESCRIPTION π¦
so Net::Amazon::Request::Artist is the class you use when you wanna submit Artist search requests to the Amazon web service. she's not here to browse the whole store, she's here for one thing and one thing only.
the artist you're hunting for? you drop that in the artist parameter. that's the whole assignment.
and then β the part where it pays off β upon success, the response's properties() method will hand you back a list of Net::Amazon::Property::Music objects. actual music objects. in a list. chef's kiss. πβ¨
oh and heads up, Net::Amazon::Request has all the common request parameters, the ones that aren't listed here. so if you're like "wait where's the rest" β she's over there. check her. π«Ά
π METHODS π
new( artist => $artist )β constructs a brand newNet::Amazon::Request::Artistobject, and that object is what you use to query the Amazon web service for items of a given artist. literally the whole point of the class. main character method fr fr. π
π 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.
so like, yes you can remix it, yes you can ship it, just keep it under the same terms as Perl itself. respect the legend, bestie. π«‘
and that's the whole page!! slay π this one came to you courtesy of perl v5.42.0, dated 2025-07-25, and she's filed under Net::Am...:Artist(3) if you ever need to find her again. mwah, go query some artists. π§ββοΈπΈ
π¦ where this page comes from
- fedora 43: perl-Net-Amazon 0.62-35.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms