Skip to content

Commit 19af4b5

Browse files
committed
* Improve README.md
1 parent 5105cb6 commit 19af4b5

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

README.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,18 @@ Please feel free to relay your comments, suggestions or corrections through pull
55

66
### Setup
77

8-
<hr>
8+
##### Option 1 - Import Final JAR Into Your Java Project
9+
10+
> You can get final JAR to import into your Java project by download it from urls below.
11+
> [Release note](https://github.com/bliblidotcom/seller-api-client-java/releases)
12+
13+
- v1.2.0-1 : https://github.com/bliblidotcom/seller-api-client-java/releases/tag/1.2.0-1
14+
- v1.1.0-1 : https://github.com/bliblidotcom/seller-api-client-java/releases/tag/1.1.0-1
915

10-
##### Maven
16+
##### Option 2 - Import Maven Dependency
17+
18+
> You can import final JAR into your Java project using maven.
19+
> Add the following code in your pom.xml.
1120
1221
```xml
1322
<!-- Add seller api client dependency -->
@@ -19,7 +28,7 @@ Please feel free to relay your comments, suggestions or corrections through pull
1928

2029
<!-- Set seller api client version -->
2130
<properties>
22-
<seller-api-client.version>...</seller-api-client.version>
31+
<seller-api-client.version>1.2.0-1</seller-api-client.version>
2332
</properties>
2433

2534
<!-- add blibli bintray repository -->
@@ -35,20 +44,18 @@ Please feel free to relay your comments, suggestions or corrections through pull
3544
</repositories>
3645
```
3746

38-
##### JAR
39-
40-
> [Release note](https://github.com/bliblidotcom/seller-api-client-java/releases)
47+
##### Option 3 - Copy Client SDK Codes Into Your Java Project
4148

42-
- v1.2.0-1 : https://github.com/bliblidotcom/seller-api-client-java/releases/tag/1.2.0-1
43-
- v1.1.0-1 : https://github.com/bliblidotcom/seller-api-client-java/releases/tag/1.1.0-1
49+
> To understand how code works, you can simply run code sample below.
50+
> Then you can dive into the codes and copy it as your needs.
4451
45-
### Code Sample
52+
### Sample Codes
4653

4754
<hr>
4855

4956
##### OAuth Flow
5057

51-
> Run App.java
58+
> Run App.java and it will work like the below sequence:
5259
5360
1. Send token request to `https://api-uata.gdn-app.com/v2/oauth/token`
5461
2. Send refresh token request with `[1]` response to `https://api-uata.gdn-app.com/v2/oauth/token`
@@ -57,7 +64,7 @@ Please feel free to relay your comments, suggestions or corrections through pull
5764

5865
##### Basic Auth Flow
5966

60-
> Run AppBasicAuth.java
67+
> Run AppBasicAuth.java and it will work like the below sequence:
6168
6269
1. Send order detail request to `https://api-uata.gdn-app.com/v2/proxy/mta/api/businesspartner/v1/order/orderDetail`
6370
2. Send fulfill order request with package id from `[1]` to `https://api-uata.gdn-app.com/v2/proxy/seller/v1/orders/regular/{packageId}/fulfill`

0 commit comments

Comments
 (0)