Skip to content

Commit 185b20a

Browse files
committed
version bump
1 parent 83b88be commit 185b20a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The intent is to simplify the request process by handling the tedious logic. It'
1919
* [Usage](#usage)
2020
* [Examples](#examples)
2121
* [Getting Access Token](#getaccesstoken)
22-
* [Finding Api(findItemsByKeywords, findItemsByCategory, findCompletedItems, getVersion)](#finding-api)
22+
* [Finding Api(findItemsByKeywords, findItemsByCategory, findCompletedItems, findItemsByProduct, getVersion)](#finding-api)
2323
* [Fetch Items By Keyword](#fetchitemsbykeyword)
2424
* [Get Items By Category](#getitemsbycategory)
2525
* [Get Single Item](#getitem)
@@ -139,6 +139,15 @@ ebay.findCompletedItems({
139139
console.log(error);
140140
});
141141

142+
// https://developer.ebay.com/DevZone/finding/CallRef/findItemsByProduct.html#findItemsByProduct
143+
ebay.findItemsByProduct({
144+
productId: 53039031
145+
}).then((data) => {
146+
console.log(data);
147+
}, (error) => {
148+
console.log(error);
149+
});
150+
142151
ebay.getVersion().then((data) => {
143152
console.log(data.version);
144153
}, (error) => {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ebay-node-api",
3-
"version": "2.7.1",
3+
"version": "2.7.2",
44
"description": "Ebay node api client",
55
"main": "./src/index.js",
66
"homepage": "https://github.com/pajaydev/ebay-node-api",
@@ -40,4 +40,4 @@
4040
"nock": "^9.2.3",
4141
"sinon": "^4.4.5"
4242
}
43-
}
43+
}

0 commit comments

Comments
 (0)