Skip to content
This repository was archived by the owner on Mar 17, 2019. It is now read-only.

devfacet/amazon-seller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 5, 2017
5f25ade · Mar 5, 2017

History

40 Commits
Mar 15, 2015
Mar 5, 2017
Mar 5, 2017
Mar 5, 2017
Mar 5, 2017
Mar 5, 2017
Mar 5, 2017
Mar 5, 2017
Mar 5, 2017
Mar 5, 2017

Repository files navigation

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.

About

A module for retrieving Amazon seller information

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published