Net::Am...t::Power(3)
π NAME π
Net::Amazon::Request::Power β bestie, it's the request class for the 'Power Search' β¨ (yes that's a real Amazon thing, iykyk)
Oh and btw the manual page you're reading rn is called Net::Am...t::Power(3) β cute name, love that for us π
πΈ SYNOPSIS πΈ
use Net::Amazon;
use Net::Amazon::Request::Power;
my $ua = Net::Amazon->new(
token => 'YOUR_AMZN_TOKEN'
);
my $req = Net::Amazon::Request::Power->new(
power => 'subject: perl and author: schwartz',
mode => 'books',
);
# Response is of type Net::Amazon::Response::Power
my $resp = $ua->request($req);
ok so that's the whole vibe: you spin up a Net::Amazon object with your token, you build a Power request, you send it, you get a response back. slay π
π¦ DESCRIPTION π¦
Net::Amazon::Request::Power is literally the class you use to ask the Amazon web service for so-called Power Searches. iconic behavior tbh.
The power parameter is where you put your power search string, and mode tells it which properties to look for. no cap.
And when it works? Upon success, the response's properties() method hands you back a list of Net::Amazon::Property::* objects. chef's kiss ππ
π METHODS π
new(power => $search_string, mode => $property)β constructs a brand newNet::Amazon::Request::Powerobject, periodt.$propertyis typicallybooks(very main character of it). And for$search_string, here are some examples, verbatim bestie:
author: schwartz
author: schwartz and pubdate: after 10-2002
subject: perl and (objects or object-oriented)
keywords: "high tech*" and not fiction and pubdate: during 1999
power "author: randal schwartz and publisher: Addison Wesley"
author: randal schwartz and title: object books
Want the full tea? Go read the "Amazon Web Services 2.1 API and Integration Guide" for details. πβ¨
- Also, heads up: go check
Net::Amazon::Requestfor the common request parameters that aren't listed here. don't forget, bestie π
π AUTHORS π
Martin Streicher, <martin.streicher@apress.com> Mike Schilli, <m@perlmeister.com>
absolute legends, both of them π«Ά
okay that's the whole page, no notes π this beauty came from perl v5.42.0, dated 2025-07-25, and it lives in the manual as Net::Am...t::Power(3) β go forth and power search, bestie, you got this πβ
π¦ 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