0.5.2 • Published 10 years ago

amazon-wish-list v0.5.2

Weekly downloads
5
License
ISC
Repository
github
Last release
10 years ago

Amazon Wish List

npm version Amount of Downloads per month Build pass Dependencies devDependencies Status Node Version

A JavaScript scraper to look up public amazon wish lists by customer or wish list id.

Installation

npm install amazon-wish-list --save

Usage

var AmazonWishList = require('amazon-wish-list');
var awl = new AmazonWishList();

awl.getById('NDDVVVWMJ6AN').then(function(list) {
  console.log(list);
});

Available methods

The AmazonWishList class provides the following methods:

  • getById(listId, filter = 'unpurchased', sort = 'date')
  • getByCid(cid, filter = 'unpurchased', sort = 'date')

Valid filter values are:

  • unpurchased
  • purchased
  • all

Valid sort values are:

  • date
  • price
  • price-desc
  • title
  • priority

Tested and working amazon TLD's

  • de
  • co.uk
  • com

If you use a TLD not mentioned here, please post your findings to the issue section.

Testing

Since this is a scraper and relys on the amazon page not changing, an extensive test suite is provided and may be invoked by running:

npm run test
0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.0

10 years ago