amazon-paapi5

0.0.0-alpha.4 • Public • Published

Product Advertising API 5.0 SDK for NodeJS

NPM

Version npm

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 })

Package Sidebar

Install

npm i amazon-paapi5

Weekly Downloads

13

Version

0.0.0-alpha.4

License

ISC

Unpacked Size

399 kB

Total Files

95

Last publish

Collaborators

  • trevonerd