dg-amazon-mws
Tiny library for interacting with the Amazon MWS API
Last updated 4 years ago by dguttman .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dg-amazon-mws 
SYNC missed versions from official npm registry.

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);
    }
  });

Current Tags

  • 1.0.4                                ...           latest (4 years ago)

1 Versions

  • 1.0.4                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |