Net::Am...xchange(3)
π Net::Am...xchange(3) β the manual page, but make it cute
okay bestie, so this is the user-contributed Perl doc for Net::Amazon::Request::Exchange β and yes, the title got squished to Net::Am...xchange(3) because someone let the terminal window do the naming π. Anyway. Let's get into it.
β¨ NAME β¨
Net::Amazon::Request::Exchange β the class you use to submit Exchange requests. that's it, that's the vibe π
πΈ SYNOPSIS πΈ
use Net::Amazon;
use Net::Amazon::Request::Exchange;
my $ua = Net::Amazon->new(
token => 'YOUR_AMZN_TOKEN'
);
my $req = Net::Amazon::Request::Exchange->new(
exchange => 'Y04Y3424291Y2398445'
);
# Response is of type Net::Amazon::Response::Seller
my $resp = $ua->request($req);
look at that. clean. iconic. no notes π
π¦ DESCRIPTION π¦
Net::Amazon::Request::Exchange is a class whose whole personality is submitting Exchange search requests to the Amazon web service. that's her job and she ate, fr fr.
so what does an Exchange request actually do? it sends an item's exchange ID over to Amazon, and Amazon hands back a description of the item, offered by a third party seller on Amazon. like, you slide the ID in, the description slides out. mutual exchange. hence the name, iykyk π
when it works out (and we love that for her), the response's result() method will return a single Net::Amazon::Result::Seller::Listing object. one object. singular. main character energy π
oh and also β there are common request parameters that are not listed on this page. those live over in Net::Amazon::Request, so go check that out before you come for this page's whole flow, okay? π«Ά
π§ METHODS π§
new( exchange => $exchange_id )β constructs a brand newNet::Amazon::Request::Exchangeobject, and you use it to query the Amazon web service with the seller id you pass in. that's the whole method. short, sweet, slays πΈ
π AUTHOR π
Mike Schilli, <m@perlmeister.com>
(ty for your service, king π«‘)
β COPYRIGHT AND LICENSE β
Copyright 2005 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. go forth and remix, bestie π
no cap, that's literally everything that was on the page. nothing skipped, nothing invented, every flag, path, name and signature left exactly where she found it. periodt.
and that's a wrap!! β¨ this was perl v5.42.0, dated 2025-07-25, and it was genuinely a pleasure to be your Net::Am...xchange(3) page today ππ bye babes π¦
π¦ 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