Skip to content

Commit 8d087cc

Browse files
Added second initialization option.
1 parent ef79cf6 commit 8d087cc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# helium-java-sdk
22

33
> **Warning**
4-
> This project is at a very very early stage and not ready to be used in the wild.
4+
> This project is at a very early stage and not ready to be used in the wild.
55
66
A Java SDK for [Helium Blockchain APIs](https://docs.helium.com/api/blockchain/introduction/).
77

@@ -10,7 +10,7 @@ Easily integrate to Helium Blockhain API in your java applications for `Android`
1010
The SDK is based on `Java 1.8` uses the following dependencies:
1111

1212
* OkHttp3
13-
* Gson
13+
* Gson
1414

1515
# Usage
1616

@@ -30,6 +30,8 @@ Create an instance by calling the constructor of `HeliumApi`.
3030
HeliumApi heliumApi = new HeliumApi();
3131
```
3232

33+
If you need more configuration, use `HeliumApi(OkHttpClient client)`.
34+
3335
## Accessing APIs in a Type-Safe way
3436

3537
Access the Blockchain APIs like `hotspots`, `accounts` and `rewards` through corresponding methods of the `HeliumApi` instance. The SDK uses builder pattern to create requests. And it is possible to get the response through the synchronous `execute()` call.

0 commit comments

Comments
 (0)