aws-price

1.2.0 • Public • Published

aws-price

Introduction

This module is a simple chainable wrapper around node-apac, primarily used for retrieving prices from amazon using a given ASIN identifier

Dependencies

Example

var price = require('aws-price');

price('<asin>')
  .id('<aws id>')
  .secret('<aws secret>')
  .associate('<amazon associate id>')
  .country('us')
  .done(function (err, res) {});

It is also possible to look for products via keywords or EAN

price({ keywords: 'Teddy Bear' })
...

// Up to 10 EANs
price({ ean: '0123456789123,1234567890123' })
...

Load extra offers which could show used or refurbished objects. This adds an offers field to the response.

price('<asin>')
  ...
  .loadOffers()
  ...

Dependencies (6)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i aws-price

    Weekly Downloads

    153

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    12.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • urgeio