Socket
Socket
Sign inDemoInstall

ebay-trading-api

Package Overview
Dependencies
7
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ebay-trading-api

A node client for eBay Trading API


Version published
Maintainers
1
Install size
8.64 MB
Created

Readme

Source

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 file.

If you use calls that set up and retrieve a user's authentication token (these calls are: GetSessionID, FetchToken, GetTokenStatus, and RevokeToken), copy appkeys.js.sample to appkeys.js.

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

FAQs

Last updated on 10 Jan 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc