Java SDK
This page has all the information needed to install and setup the BLOOCK's SDK for Java. If you are looking for documentation related to an specific functionality, please refer to it's specific section.
To run the SDK for Java you will need:
- Java version >= 8
- Gradle or Maven for installing the package
The Java SDK is available through Gradle or Maven. To install it, you can add the following to the config of your prefered build tool:
Gradle
Maven
implementation 'com.bloock.sdk:bloock-sdk:SDK_VERSION'
<dependency>
<groupId>com.bloock.sdk</groupId>
<artifactId>bloock-sdk</artifactId>
<version>SDK_VERSION</version>
</dependency>
To start working with most of the functionalities of our SDKs, you will need an API Key. Please, follow the instructions of Create an API Key to get one.
Here's the code needed to properly configure the SDK Client with the API Key:
Java
import com.bloock.sdk.Bloock;
Bloock.apiKey = System.getenv("API_KEY");
Last modified 1mo ago