Drupal helper for using the Amazon Product Advertising API 5 SDK.
Deprecated: moved to https://www.drupal.org/project/amazon_paapi
Provides a service to load the Amazon PA API SDK 5.0 with credentials that are saved in Drupal. This is supposed to be a lean module, requests must be assembled using the classes in the SDK as there are many possibilities to compose a request. Which also means that error handling is up to the developer who implements them.
Install the module via composer:
composer require drunomics/amazon_paapi
Enable the module as you would a normal drupal module.
Sign up for an Amazon AWS account to use the Product Advertising Service.
Enter the api credentials, partner tag and region details on
The credentials can also be set in environment variables, if done so they will override settings, the environment variables are:
AMAZON_PAAPI_ACCESS_KEY AMAZON_PAAPI_ACCESS_SECRET AMAZON_PAAPI_HOST AMAZON_PAAPI_REGION AMAZON_PAAPI_PARTNER_TAG
For an example how to create a request see the test ASIN page
For further examples see the SDK (drunomics/paapi5-php-sdk) which will be downloaded via composer when installing the module.