amazon-paapi5
v0.0.0-alpha.4
Published
ProductAdvertisingAPI 5.0 Client
Downloads
124
Maintainers
Readme
Product Advertising API 5.0 SDK for NodeJS
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.
Installation
npm install amazon-paapi5 --save
yarn add amazon-paapi5
Getting Started
1) Get Item/s Informations
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 })