Socket
Socket
Sign inDemoInstall

ebay-api

Package Overview
Dependencies
3
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

6

index.js

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

ebayApiGetRequest(options, function(error, items) {
ebayApiGetRequest(thisPageOptions, function(error, items) {
// console.log("Got response from page", thisPageOptions.params['paginationInput.pageNumber']);

@@ -370,3 +370,5 @@

if (data.searchResult) {
items = _(data.searchResult).first().item || []; // e.g. for FindingService
// reduce in steps so successful but empty responses don't throw error
data = !_.isEmpty(data.searchResult) ? _(data.searchResult).first() : null;
items = (data && data.item) || []; // e.g. for FindingService
}

@@ -373,0 +375,0 @@ else if (data.itemRecommendations.item) {

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

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

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

## To use
`npm install ebay-api`
`var ebay = require('ebay-api');`
(See the examples)
## A word on the eBay APIs

@@ -11,0 +19,0 @@

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