Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/intellectualsites/arkitektonika-client

Java client for the Arkitektonika API
https://github.com/intellectualsites/arkitektonika-client

api arkitektonika java library minecraft nbt

Last synced: 3 months ago
JSON representation

Java client for the Arkitektonika API

Awesome Lists containing this project

README

        

# Arkitektonika-Client
Java client for the [Arkitektonika API](https://github.com/IntellectualSites/Arkitektonika)

## Description

All of the Arkitektonika API can be interacted with using the Arkitektonika instance. Using it you can:
- check API compatibility,
- upload schematics,
- download schematics,
- check the status of uploaded schematics, and
- delete schematics

## Usage

Here is some sample usage:

```java
Arkitektonika arkitektonika = Arkitektonika.builder().withUrl("https://your.url").build();
arkitektonika.upload(new File("your/file.schem")).whenComplete((keys, throwable) -> {
if (throwable != null) {
throwable.printStackTrace();
} else {
// ... store the keys, or whatever you feel like
}
});
```

## Dependencies

The client uses [HTTP4J](https://github.com/Sauilitired/HTTP4J) to interact with the Arkitektonika
REST API. This will need to be available on the classpath for the client to function.

## Maven Deployment
Releases are published to the central repository, snapshots are published to S01 OSS Sonatype.

```kotlin
repositories {
mavenCentral()
}

dependencies {
compileOnly("com.intellectualsites.arkitektonika:Arkitektonika-Client:VERSION")
}
```

```xml


com.intellectualsites.arkitektonika
Arkitektonika-Client
VERSION

```