Skip to content

Commit

Permalink
Remove unnecessary example from the readme.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
BL committed Oct 11, 2018
1 parent bb02d84 commit 5f7f9bb
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]).
```
Expand Down

0 comments on commit 5f7f9bb

Please sign in to comment.