Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
pajaydev committed Sep 21, 2019
1 parent 83b88be commit 185b20a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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) => {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -40,4 +40,4 @@
"nock": "^9.2.3",
"sinon": "^4.4.5"
}
}
}

0 comments on commit 185b20a

Please sign in to comment.