BoxLang 🚀 A New JVM Dynamic Language Learn More...
__ _ _ _
___ / _| __ _ _ __ ___ __ _ ____ ___ _ __ _ __ _ __ ___ __| | _ _ ___ | |_ __ _ __| |
/ __|| |_ / _` || '_ ` _ \ / _` ||_ // _ \ | '_ \ | '_ \ | '__|/ _ \ / _` || | | | / __|| __|/ _` | / _` |
| (__ | _|| (_| || | | | | || (_| | / /| (_) || | | || |_) || | | (_) || (_| || |_| || (__ | |_| (_| || (_| |
\___||_| \__,_||_| |_| |_| \__,_|/___|\___/ |_| |_|| .__/ |_| \___/ \__,_| \__,_| \___| \__|\__,_| \__,_|
|_|
Amazon Product Advertising ColdFusion Rest API Client, new v5 API supported in amazonProductAd5.cfc
v5 has full api coverage of methods: GetBrowseNodes, GetItems, GetVariations, SearchItems, function takes the same arguments as the REST api in AWS documentation.
Case of arguments is important, Lucee supports preserving case, but this might be an issue with Adobe ColdFusion which doesn't support "cfprocessingdirective( preserveCase=true )".
The previous v4 API in amazonProductAd.cfc is no longer functional and has been removed.
Run the following from commandbox:
box install cfamazonproductad
<cfscript>
amz = new amazonProductAd5(
accessKeyId= "XXXXYYYYYZZZZ"
, secretAccessKey= "ABC123ABC123ABC123"
, partnerTag= "abcdefg-20"
).usDefaults();
test= amz.SearchItems( "fred", "ItemInfo.Title" );
dump( test );
</cfscript>
Australia Brazil Canada France Germany India Italy Japan Mexico Netherlands Singapore Spain Turkey United Arab Emirates United Kingdom United States
Thanks to Jeff Maciorowski for sponsoring adding/fixing foreign marketplace support in this api client.
https://webservices.amazon.com/paapi5/documentation/ https://docs.aws.amazon.com/AWSECommerceService/latest/DG/Welcome.html
$
box install cfamazonproductad