1.0.3 • Published 8 years ago

amazon-seller v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Amazon Seller

NPM Build Status

Amazon Seller is a module for retrieving Amazon seller information.

Installation

npm install amazon-seller

Usage

var amzSel = require('amazon-seller');

// Options:
// sellerId:    Seller ID
// marketplace: Marketplace code

amzSel.sellerInfo({sellerId: 'A3TYU8WJN37NYT', marketplace: 'US'}, function(err, data) {
  if(!err) {
    console.log(JSON.stringify(data, null, 2));
  } else {
    console.log(JSON.stringify(err, null, 2));
  }
});

// Output
/*
{
  "id": "A3TYU8WJN37NYT",
  "name": "YoYo.com (Quidsi Retail, an Amazon company)",
  "url": {
    "mobile": "http://www.amazon.com/gp/aw/sp.html/?s=A3TYU8WJN37NYT",
    "full": "http://www.amazon.com/gp/aag/details/?seller=A3TYU8WJN37NYT"
  },
  "feedback": {
    "star": 4.8,
    "rating": 29228,
    "history": {
      "d30": {
        "positive": "90%",
        "neutral": "3%",
        "negative": "7%",
        "rating": 658
      },
      "d90": {
        "positive": "94%",
        "neutral": "3%",
        "negative": "4%",
        "rating": 3289
      },
      "d365": {
        "positive": "95%",
        "neutral": "2%",
        "negative": "3%",
        "rating": 11793
      },
      "lifetime": {
        "positive": "96%",
        "neutral": "2%",
        "negative": "2%",
        "rating": 29228
      }
    }
  },
  "marketplace": {
    "id": "ATVPDKIKX0DER",
    "name": "US",
    "url": "www.amazon.com",
    "country": {
      "code": "US",
      "name": "United States"
    }
  }
}
*/

License

Licensed under The MIT License (MIT)
For the full copyright and license information, please view the LICENSE.txt file.

1.0.3

8 years ago

1.0.2

10 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago