ProductAdvertisingAPI 5.0 Client
npm install amazon-paapi5
 
This repository contains the official Product Advertising API 5.0 NodeJS SDK called paapi5-nodejs-sdk that allows you to access the Product Advertising API from your NodeJS app.
shell
npm install amazon-paapi5 --save
``shell
yarn add amazon-paapi5
`Getting Started
$3
`javascript
import ProductAPI from 'amazon-paapi5';
const products = ['ASIN1', 'ASIN2']const api = ProductAPI({
accessKey: ##AMAZON_ACCESS_KEY##,
secretKey: ##AMAZON_SECRET_KEY##,
country: 'Italy',
partnerTag: 'chebazza0c-21',
partnerType: 'Associates',
resources: [
'Images.Primary.Small',
'ItemInfo.Title',
'Offers.Listings.Price',
]
});
const result = await api.getItems({ itemIds: products })
``