-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary example from the readme.md file
- Loading branch information
BL
committed
Oct 11, 2018
1 parent
bb02d84
commit 5f7f9bb
Showing
1 changed file
with
0 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,21 +58,6 @@ eBay.setApiKey('YOUR_KEY', 'YOUR_SECRET'); | |
- Contributors can send their Pull Request to `development` branch. | ||
- Kindly validate test cases & linting before opening new PR. | ||
|
||
### Application | ||
|
||
#### Get OAuth Token | ||
```js | ||
try { | ||
var token = await eBay.application.getOAuthToken({ | ||
grant_type: 'client_credentials', | ||
scope: 'https://api.ebay.com/oauth/api_scope' | ||
}); | ||
eBay.setToken(token.access_token); | ||
} catch (error) { | ||
console.log('error ', error); | ||
} | ||
``` | ||
|
||
``` | ||
Originally by [Bhushankumar Lilapara](https://github.com/bhushankumarl) ([email protected]). | ||
``` | ||
|