https://github.com/rjdavis3/ebay-sdk
Java SDK for eBay REST APIs
https://github.com/rjdavis3/ebay-sdk
ebay java-sdk maven mavencentral rest
Last synced: 4 months ago
JSON representation
Java SDK for eBay REST APIs
- Host: GitHub
- URL: https://github.com/rjdavis3/ebay-sdk
- Owner: rjdavis3
- License: apache-2.0
- Created: 2016-12-07T05:28:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-20T13:22:36.000Z (almost 9 years ago)
- Last Synced: 2025-08-23T04:30:44.153Z (4 months ago)
- Topics: ebay, java-sdk, maven, mavencentral, rest
- Language: Java
- Size: 325 KB
- Stars: 11
- Watchers: 2
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# eBay SDK
Java SDK for eBay REST APIs
| Service | Develop | Master |
|-----------|---------|--------|
| CI Status | [](https://travis-ci.org/rjdavis3/ebay-sdk) | [](https://travis-ci.org/rjdavis3/ebay-sdk) |
## Maven
```xml
com.github.rjdavis3
ebay-sdk
1.3.1
```
## Quickstart
Creating SDK with refresh token then making a sample call:
```java
final RequestRetryConfiguration requestRetryConfiguration = RequestRetryConfiguration.newBuilder()
.withMininumWait(5, TimeUnit.SECONDS).withTimeout(2, TimeUnit.MINUTES).build();
final EbaySdk ebaySdk = EbaySdk.newBuilder().withClientId(clientId).withClientSecret(clientSecret)
.withRefreshToken(refreshToken).withRequestRetryConfiguration(requestRetryConfiguration)
.withSandbox(false).build();
final InventoryItem inventoryItem = ebaySdk.getInventoryItem(sku);
```
Creating SDK with RuName and temporary authorization code then making a sample call:
```java
final RequestRetryConfiguration requestRetryConfiguration = RequestRetryConfiguration.newBuilder()
.withMininumWait(5, TimeUnit.SECONDS).withTimeout(2, TimeUnit.MINUTES).build();
final EbaySdk ebaySdk = EbaySdk.newBuilder().withClientId(clientId).withClientSecret(clientSecret)
.withRuName(ruName).withCode(authorizationCode)
.withRequestRetryConfiguration(requestRetryConfiguration).withSandbox(false)
.build();
final InventoryItem inventoryItem = ebaySdk.getInventoryItem(sku);
```
## Building from source
1. Install Maven
2. Install JDK 8
3. Clone the repository.
3. Navigate to repository directory and run `mvn install`