You can use the openlayer Java SDK to interact with the Openlayer platform.

Install

You can install the openlayer Java SDK from Gradle or Maven.

/*
  For Gradle, add the following dependency to your build.gradle and replace with
  the version number you want to use from:
  - https://github.com/openlayer-ai/openlayer-java/releases/latest
*/
implementation("com.openlayer.api:openlayer-java:0.1.0-alpha.2")
<!--
  For Maven, add the following dependency to your POM and replace with the
  version number you want to use from:
  - https://github.com/openlayer-ai/openlayer-java/releases/latest
-->
<dependency>
  <groupId>com.openlayer.api</groupId>
  <artifactId>openlayer-java</artifactId>
  <version>0.1.0-alpha.2</version>
</dependency>

Learn more

To learn more about the openlayer Java SDK, check out the GitHub repository:

SDK GitHub repository

Check out the source code of the Java SDK.