Net::Am...xchange(3)

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

πŸ‘‘ 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 new Net::Amazon::Request::Exchange object, 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 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