Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/intellectualsites/arkitektonika-client
- Owner: IntellectualSites
- License: mit
- Created: 2020-06-21T06:32:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T20:02:59.000Z (10 months ago)
- Last Synced: 2024-04-14T00:32:05.593Z (10 months ago)
- Topics: api, arkitektonika, java, library, minecraft, nbt
- Language: Java
- Homepage:
- Size: 351 KB
- Stars: 5
- Watchers: 7
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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
```