Net::Am...tStream(3)

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

πŸ’– Net::Am...tStream(3) β€” aka Net::Amazon::Request::TextStream πŸ’–

User Contributed Perl Documentation Β· perl v5.42.0 Β· 2025-07-25

okay bestie, sit DOWN, because this one is literally the ✨ text stream search request class ✨ and she is serving exactly one job and doing it gorgeously πŸ’…


🌸 NAME 🌸

Net::Amazon::Request::TextStream β€” the request class for text stream search πŸ¦‹


✨ SYNOPSIS ✨

like, here's the vibe, no cap:

use Net::Amazon;
use Net::Amazon::Request::TextStream;

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

my $req = Net::Amazon::Request::TextStream->new(
    textstream => 'Here is some text that mentions the Rolling Stones.',
);

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

see how clean that is?? iconic. πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

so Net::Amazon::Request::TextStream is a class used to perform a search on a block of text. you just hand Amazon a whole paragraph of vibes and she goes digging through it for keywords. πŸ”βœ¨

BUT. listen closely bestie, this is the plot twist 😭 β€” conjunctions and helper words, like "and", "or", "the", etc. are not excluded. she does not filter those out for you. so if you don't want your search dragged down by a bunch of filler words, strip them out yourself if need be. fr fr.

⚠️ also important: TextStream searching is only available for the US service. that's it, that's the whole map. πŸ‡ΊπŸ‡Έ

and when it hits? upon success, the response's properties() method will return a list of Net::Amazon::Property::* objects. so many little property cuties, all in a row 🫢


πŸ’« METHODS πŸ’«

  • new(textstream => $text) β€” constructs a new Net::Amazon::Request::TextStream object, and she's the one you use to query the Amazon web service with a block of text. that's the whole thing, that's her purpose, she ate πŸ”₯

oh and also!! check Net::Amazon::Request for common request parameters that aren't listed here β€” the shared stuff lives over there, don't come for this class for the basics 🧚


🌈 SEE ALSO 🌈

...literally nothing listed, bestie. she stands alone. main character energy, truly. πŸ’€πŸ’œ


and that's the page!! mwah πŸ’– this lil doc came to you courtesy of the User Contributed Perl Documentation, running on perl v5.42.0, dated 2025-07-25. go forth and stream your texts, queen πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from