@wyster/amazon-wish-list

0.5.6 • Public • Published

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

Package Sidebar

Install

npm i @wyster/amazon-wish-list

Weekly Downloads

2

Version

0.5.6

License

ISC

Unpacked Size

14.3 kB

Total Files

5

Last publish

Collaborators

  • wyster