File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Ebay API Client for node js.
4
4
5
+
6
+ [ ![ npm version] ( https://badge.fury.io/js/ebay-node-api.svg )] ( https://badge.fury.io/js/ebay-node-api )
7
+ [ ![ Build Status] ( https://travis-ci.org/ajay2507/ebay-node-api.svg?branch=master )] ( https://travis-ci.org/ajay2507/ebay-node-api )
8
+
5
9
# Installing
6
10
7
11
``` shell
@@ -31,6 +35,21 @@ Register your app here https://go.developer.ebay.com/quick-start-guide.
31
35
- ` limit ` - optional(` Number ` ) - fetch items functionality - Number that limits the number of data you need in response.
32
36
- ` details ` - optional(` Boolean ` ) - Get User Details functionality - true, if you need details about the user.
33
37
38
+ #### Example
39
+ ## FetchItemsByKeyword
40
+ ``` javascript
41
+ const Ebay = require (" ebay-node-api" );
42
+
43
+ let ebay = new Ebay ({
44
+ clientID: " -- Client APP ID ----" ,
45
+ limit: 6
46
+ });
47
+ ebay .findItemsByKeywords (" iphone" ).then ((data ) => {
48
+ console .log (data); // fetches top 6 results in form of JSON.
49
+ }, (error ) => {
50
+ console .log (error);
51
+ });
52
+ ```
34
53
35
54
## How do I run the tests?
36
55
All test files are present inside test folder. You can run using
You can’t perform that action at this time.
0 commit comments