amazon-wish-list icon indicating copy to clipboard operation
amazon-wish-list copied to clipboard

NPM module to find amazon wish lists by their ID or multiple lists by customer ID.

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