Skip to main content
Version: 1.0.0

Java

We made a Java client for our API. You can find it on our GitHub repository.

danger

The Java client is outdated and contains the wrong API URL. It does not work anymore, and the contributor responsible for it is no longer active.

Any help or contributions concerning the Java client is welcome.

Installation

Maven

<dependency>
<groupId>org.nekonya.NekoNya4J</groupId>
<artifactId>nekonya4j</artifactId>
<version>1.0.0</version>
</dependency>

Gradle

implementation 'org.nekonya.NekoNya4J:nekonya4j:1.0.0'

Example

import org.nekonya.NekoNya4J.NekoNyaClient;
import org.nekonya.NekoNya4J.NekoNyaInterface;

public class Example {
public static void main(String[] args) {
NekoNyaClient client = new NekoNyaClient();
System.out.println(client.neko());
// -> URL
}
}
public class Example {
public static void main(String[] args) {
NekoNyaInterface client = NekoNyaInterface.create();
System.out.println(client.neko());
// -> URL
}
}