amazon-mws-cli

A command-line tool to access the Amazon Marketplace Web Services API


License
MIT
Install
npm install amazon-mws-cli@1.0.0-alpha.4

Documentation

amazon-mws-cli

npm version JavaScript Style Guide

Installation

install amazon-mws-cli globally using npm so that it may be run from the command line.

npm install -g amazon-mws-cli

Configuration

create mwsconfig.json in your home directory

{
    "merchantId": "<Your Merchant Id>",
    "accessKeyId": "<Your AWS Access Key ID>",
    "secretAccessKey": "<Your AWS Secret Key>",
    "endpoint": "<Your Marketplace Endpoint>",
    "marketplaceId": "<Your Default Marketplace Id>"
}

Usage

getMatchingProductForId

getMatchingProductForId <IdType> <Id1> [...Id5]

getCompetitivePricingForASIN

getCompetitivePricingForASIN <ASIN1> [...ASIN20]