Net::Am...:Keyword(3)

πŸ“¦
version 0.62 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

Net::Amazon::Request::Keyword β€” the request class for keyword search, bestie. yes the manpage title up there got cut off into Net::Am...:Keyword(3) like it's texting with its thumb, but we know who she is 🫢


✨ SYNOPSIS ✨

okay so here's the whole vibe in code:

use Net::Amazon;
use Net::Amazon::Request::Keyword;

my $ua = Net::Amazon->new(
    token       => 'YOUR_AMZN_TOKEN'
);

my $req = Net::Amazon::Request::Keyword->new(
    keyword  => 'Zwan',
    mode     => 'books'
);

  # Response is of type Net::Amazon::Response::Keyword
my $resp = $ua->request($req);

look at her go 😌 token, keyword, mode, request, done. main character energy fr.


🌸 DESCRIPTION 🌸

Net::Amazon::Request::Keyword is a class used to submit keyword search requests to the Amazon web service. that's it, that's the job, and she does it flawlessly πŸ’…

the keyword you wanna search for? that goes in the keyword parameter. obviously. iconic behavior.

the catalog you're searching in? that's the mode parameter. typical values are books, music, classical or electronics β€” pick your aisle bestie πŸŽ€

upon success, the response's properties() method will return a list of Net::Amazon::Property::* objects. so you get actual lil property objects back, not just vibes. obsessed. ✨

πŸ”₯ METHODS πŸ”₯

  • new( keyword => $keyword, mode => $mode ) β€” constructs a new Net::Amazon::Request::Keyword object, used to query the Amazon web service for items matching a given keyword in the mode (catalog) specified. like, you hand her a keyword and a catalog, she goes and finds the stuff. queen shit πŸ‘‘
ngl, check Net::Amazon::Request for the common request parameters that aren't listed here β€” there's more to her than this page shows, iykyk πŸ¦‹

πŸ’œ AUTHOR πŸ’œ

Mike Schilli, <m@perlmeister.com> β€” the legend, the blueprint, the original author 🫢


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 yes, go wild, remix her, redistribute her β€” same terms as Perl itself, periodt. no cap πŸ’–

and that's the whole page babes 🌈 this one was documented as perl v5.42.0, dated 2025-07-25, brought to you by User Contributed Perl Documentation β€” so if you're reading this, someone out there really cared about keyword requests and honestly? we love that for them πŸ˜­πŸ’•

πŸ“¦ where this page comes from