FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

cfamazonproductad

v1.2.3 Public
        __                                                                    _               _              _ 
  ___  / _|  __ _  _ __ ___    __ _  ____ ___   _ __   _ __   _ __  ___    __| | _   _   ___ | |_  __ _   __| |
 / __|| |_  / _` || '_ ` _ \  / _` ||_  // _ \ | '_ \ | '_ \ | '__|/ _ \  / _` || | | | / __|| __|/ _` | / _` |
| (__ |  _|| (_| || | | | | || (_| | / /| (_) || | | || |_) || |  | (_) || (_| || |_| || (__ | |_| (_| || (_| |
 \___||_|   \__,_||_| |_| |_| \__,_|/___|\___/ |_| |_|| .__/ |_|   \___/  \__,_| \__,_| \___| \__|\__,_| \__,_|
                                                      |_|                                                      

cfamazonproductad

Amazon Product Advertising ColdFusion Rest API Client, new v5 API supported in amazonProductAd5.cfc, previous v4 API available in amazonProductAd

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 )".

To Install

Run the following from commandbox: box install cfamazonproductad

Example usage

<cfscript>
amz = new amazonProductAd5(
	accessKeyId= "XXXXYYYYYZZZZ"
,	secretAccessKey= "ABC123ABC123ABC123"
,	partnerTag= "abcdefg-20"
).usDefaults();
test= amz.SearchItems( "fred", "ItemInfo.Title" );
dump( test );
</cfscript>

Marketplace support

Australia Brazil Canada France Germany India Italy Japan Mexico Netherlands Singapore Spain Turkey United Arab Emirates United Kingdom United States

Changes

2020-03-23 Added support for all amazon regions/markets to v5. Breaking change to constructor arguments, replaced apiUrl with setEndPoint() 2020-02-23 Complete rewrite to support new PAAPI v5 2019-06-03 Open source release

Contributions

Thanks to Jeff Maciorowski for sponsoring adding/fixing foreign marketplace support in this api client.

API documentation

https://webservices.amazon.com/paapi5/documentation/ https://docs.aws.amazon.com/AWSECommerceService/latest/DG/Welcome.html

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
1.2.3 Mar 24 2020 06:07 PM Mar 24 2020 06:07 PM
Version History
1.2.2 Mar 24 2020 02:59 PM Mar 24 2020 02:59 PM
1.2.1 Mar 23 2020 04:54 PM Mar 23 2020 04:54 PM
1.2.0 Mar 23 2020 02:28 PM Mar 23 2020 02:28 PM
1.1.9 Mar 21 2020 01:08 PM Mar 21 2020 01:08 PM
1.1.8 Feb 28 2020 06:57 PM Feb 28 2020 06:57 PM
1.1.7 Feb 25 2020 01:02 PM Feb 25 2020 01:02 PM
1.1.6 Feb 25 2020 12:43 PM Feb 25 2020 12:43 PM
1.1.5 Feb 25 2020 12:17 PM Feb 25 2020 12:17 PM
1.1.4 Feb 25 2020 10:35 AM Feb 25 2020 10:35 AM
1.1.3 Feb 25 2020 10:35 AM Feb 25 2020 10:35 AM
1.1.2 Feb 24 2020 05:03 PM Feb 24 2020 05:03 PM
1.1.1 Feb 24 2020 11:10 AM Feb 24 2020 11:10 AM
1.1.0 Feb 24 2020 12:14 AM Feb 24 2020 12:14 AM
1.0.0 Feb 23 2020 10:15 PM Feb 23 2020 10:15 PM
0.6.2 Jun 21 2019 03:54 PM Jun 21 2019 03:54 PM
0.6.1 Jun 14 2019 01:37 PM Jun 14 2019 01:37 PM
0.6.0 Jun 14 2019 12:16 PM Jun 14 2019 12:16 PM
0.5.2 Jun 05 2019 04:19 PM Jun 05 2019 04:19 PM
0.5.1 Jun 03 2019 12:58 PM Jun 03 2019 12:58 PM

 

$ box install cfamazonproductad

No collaborators yet.
   
  • Jun 03 2019 12:58 PM
  • Mar 24 2020 06:07 PM
  • 286
  • 0
  • 3