Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amzn-papi

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amzn-papi

README.md

  • 0.0.1
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

Amazon Product Advertisment API

This library allows you to access the Amazon Product Advertising API from your node.js application.

Usage

Install the library with

npm install amzn-papi

Require the libray in your application

var amazon = require('amzn-papi')

Then instantiate a client:

var client = amazon.createClient({
  awsId: [YOUR AMAZON AWS ID],
  awsSecret: [YOUR AMAZON SECRET],
  awsTag: [YOUR AFFILIATE TAG]
});

You can now refer to the Amazon API docs for available methods and available parameters. Each method will return a Promise.

For example:

client.ItemLookup({
	ItemId: 'B000BIPMC2',
	ResponseGroup: 'ItemAttributes'
}).then(function(result){
	console.log(result)
}).catch(function(error){
	console.log(err.stack);
});

Currently the implementer methods are:

All methods related to Cart are not yet implemented - pull requests are welcome :)

FAQs

Package last updated on 29 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc