Socket
Socket
Sign inDemoInstall

ebay-api

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ebay-api - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

examples/Trading-GetOrders.js

@@ -12,4 +12,4 @@ /**

// app/environment
devName: '...........',
cert: '...........',
devId: '...........',
certId: '...........',
appName: '...........',

@@ -16,0 +16,0 @@ sandbox: true,

@@ -7,2 +7,4 @@ // eBay API client for Node.js

exports.parseResponse = require('./lib/parser').parseResponse;
var parser = require('./lib/parser');
exports.parseResponse = parser.parseResponse;
exports.flatten = parser.flatten;

@@ -65,6 +65,6 @@ var

'X-EBAY-API-SITEID': options.siteId ? options.siteId : '0', // US
'X-EBAY-API-DEV-NAME': options.devName,
'X-EBAY-API-CERT-NAME': options.cert,
'X-EBAY-API-DEV-NAME': options.devId,
'X-EBAY-API-CERT-NAME': options.certId,
};
}
};

@@ -103,4 +103,4 @@ var

@option {string} devName
@option {string} cert
@option {string} devId
@option {string} certId
@option {string} authToken

@@ -107,0 +107,0 @@

{
"name": "ebay-api",
"description": "eBay API Client",
"version": "1.0.0",
"version": "1.1.0",
"homepage": "https://github.com/newleafdigital/nodejs-ebay-api",

@@ -6,0 +6,0 @@ "author": "Ben Buckman <ben@newleafdigital.com> (http://newleafdigital.com)",

@@ -18,3 +18,3 @@ eBay API client for Node.js

and built it out enough to handle my use cases at the time.
2. Since then, [several other people](https://github.com/benbuckman/nodejs-ebay-api/network) have contributed to the module.
2. Since then, [several other people][network] have contributed to the module.
3. I decided, after reviewing the alternatives and finding nothing better,

@@ -35,3 +35,3 @@ to revive this module again for a project in October 2015. I've pulled in improvements from various forks,

(See the examples)
(See the [examples][examples])

@@ -65,4 +65,4 @@

- `params`: (see examples and API documentation)
- `reqOptions`: passed to the [request](https://github.com/request/request) module,
- `params`: (see [examples][examples] and API documentation)
- `reqOptions`: passed to the [request][request] module,
e.g. for additional `headers`, or `timeout`.

@@ -76,4 +76,4 @@ - `parser`: function which takes the response data and extracts items (or other units depending on the query).

- `devName`
- `cert`
- `devId`
- `certId`
- `authToken`

@@ -137,3 +137,4 @@

See the /examples directory. There are two examples, one with a single-page `findItemsByKeywords` request,
See the [examples][examples] directory.
There are two examples, one with a single-page `findItemsByKeywords` request,
the other a paginated `findItemsAdvanced` request. It should be reasonably apparent from the examples

@@ -145,2 +146,6 @@ how these functions are used.

Enjoy!
Enjoy!
[network]: https://github.com/benbuckman/nodejs-ebay-api/network
[examples]: https://github.com/benbuckman/nodejs-ebay-api/tree/master/examples
[request]: https://github.com/request/request
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc