ebay-trading-api
Node client for eBay Trading API
Last updated 3 years ago by d6er .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ebay-trading-api 
SYNC missed versions from official npm registry.

ebay-trading-api

A node client for eBay Trading API.

Installation

npm install ebay-trading-api

Configuration

Copy env.js.production or env.js.sandbox to env.js.

If you use GetSessionID, FetchToken, GetTokenStatus or RevokeToken, copy appkeys.js.sample to appkeys.js and update devname, appname and certname in appKeys object.

Example

var ebay = require('ebay-trading-api');

// Input parameters for GetItem api call.
// params.data is converted to xml format in the call method.
// http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/GetItem.html
var params = {
  callname: 'GetItem',
  siteid: 0,
  data: {
    RequesterCredentials: {
      eBayAuthToken: 'your-token-string'
    },
    ItemID: 'item-id'
  }
};
  
ebay.call(params, function(err, result) {
  console.dir(result);
});

Test

npm test

Current Tags

  • 1.0.3                                ...           latest (3 years ago)

3 Versions

  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 3
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |