You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# helium-java-sdk
2
2
3
3
> **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.
5
5
6
6
A Java SDK for [Helium Blockchain APIs](https://docs.helium.com/api/blockchain/introduction/).
7
7
@@ -10,7 +10,7 @@ Easily integrate to Helium Blockhain API in your java applications for `Android`
10
10
The SDK is based on `Java 1.8` uses the following dependencies:
11
11
12
12
* OkHttp3
13
-
* Gson
13
+
* Gson
14
14
15
15
# Usage
16
16
@@ -30,6 +30,8 @@ Create an instance by calling the constructor of `HeliumApi`.
30
30
HeliumApi heliumApi =newHeliumApi();
31
31
```
32
32
33
+
If you need more configuration, use `HeliumApi(OkHttpClient client)`.
34
+
33
35
## Accessing APIs in a Type-Safe way
34
36
35
37
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