Skip to content

Commit ca9b756

Browse files
chore: improve readme file
1 parent 9b9f566 commit ca9b756

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,42 @@ You can read more about the XAP API on [Developer Hub for XAP](https://developer
1212
The XAP SDK makes integrating simple, saving development time so you can focus more on getting your product to market
1313
and less on the technical details of the API.
1414

15-
### Code Examples
15+
## Installation
16+
Make sure you have **Java 8** or higher.
17+
18+
**Gradle**
19+
```groovy
20+
// gradle.build
21+
dependencies {
22+
// Add SDK transport dependency
23+
implementation 'com.expediagroup:expediagroup-sdk-transport-okhttp:0.0.4-alpha'
24+
implementation 'com.expediagroup:xap-sdk:1.0.0-SNAPSHOT'
25+
}
26+
```
27+
28+
**Maven**
29+
```xml
30+
<!-- pom.xml -->
31+
32+
<!-- Add SDK transport dependency -->
33+
<dependency>
34+
<groupId>com.expediagroup</groupId>
35+
<artifactId>expediagroup-sdk-transport</artifactId>
36+
<version>0.0.4-alpha</version>
37+
</dependency>
38+
<dependency>
39+
<groupId>com.expediagroup</groupId>
40+
<artifactId>xap-sdk</artifactId>
41+
<version>1.0.0-SNAPSHOT</version>
42+
</dependency>
43+
```
44+
45+
## Code Examples
1646

1747
You can find code examples for multiple use cases in the [examples](examples) directory.
1848

19-
### Integration Tests
20-
Integration tests are placed in the [integrations](tests/integration) directory.
49+
## Integration Tests
50+
Integration tests are placed in the [integrations](integration-tests) directory.
2151

2252
---
2353

0 commit comments

Comments
 (0)