From 185b20af41dfccaf6b4580e45ff9d983e4bcdf58 Mon Sep 17 00:00:00 2001 From: ajay2507 Date: Sat, 21 Sep 2019 11:49:20 -0700 Subject: [PATCH] version bump --- README.md | 11 ++++++++++- package.json | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a4a5ecf..5429baf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The intent is to simplify the request process by handling the tedious logic. It' * [Usage](#usage) * [Examples](#examples) * [Getting Access Token](#getaccesstoken) - * [Finding Api(findItemsByKeywords, findItemsByCategory, findCompletedItems, getVersion)](#finding-api) + * [Finding Api(findItemsByKeywords, findItemsByCategory, findCompletedItems, findItemsByProduct, getVersion)](#finding-api) * [Fetch Items By Keyword](#fetchitemsbykeyword) * [Get Items By Category](#getitemsbycategory) * [Get Single Item](#getitem) @@ -139,6 +139,15 @@ ebay.findCompletedItems({ console.log(error); }); +// https://developer.ebay.com/DevZone/finding/CallRef/findItemsByProduct.html#findItemsByProduct +ebay.findItemsByProduct({ + productId: 53039031 +}).then((data) => { + console.log(data); +}, (error) => { + console.log(error); +}); + ebay.getVersion().then((data) => { console.log(data.version); }, (error) => { diff --git a/package.json b/package.json index efc037f..e34e7e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ebay-node-api", - "version": "2.7.1", + "version": "2.7.2", "description": "Ebay node api client", "main": "./src/index.js", "homepage": "https://github.com/pajaydev/ebay-node-api", @@ -40,4 +40,4 @@ "nock": "^9.2.3", "sinon": "^4.4.5" } -} +} \ No newline at end of file