1.1.0 • Published 5 years ago

amazon-mws-node v1.1.0

Weekly downloads
42
License
MIT
Repository
github
Last release
5 years ago

amazon-mws

Tiny library for interacting with the Amazon MWS API

Installation

$ npm install amazon-mws-node

Usage

  var mws = require('amazon-mws-node')({
    AmzSecretKey: 'AMZ_SECRET_KEY',
    AWSAccessKeyId: 'AMZ_ACCESS_KEY_ID'
  });

  mws({
    method: 'GET',
    base: 'mws.amazonservices.com',
    endpoint: '/Orders/2013-09-01',
    params: {
      'Action': 'ListOrders',
      'CreatedAfter': '2014-01-01',
      'MarketplaceId.Id.1': 'MARKETPLACE_ID',
      'SellerId': 'SELLER_ID',
      'MWSAuthToken': 'MWS_AUTH_TOKEN',
      'Version': '2013-09-01'
    },
    callback: function (error, response, body) {
      console.log(body);
    }
  });
2.0.0

5 years ago

1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago