Skip to content

Java client for the Arkitektonika API

License

Notifications You must be signed in to change notification settings

IntellectualSites/Arkitektonika-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

160 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Arkitektonika-Client

Java client for the Arkitektonika API

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:

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 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.

repositories {
    mavenCentral()
}

dependencies {
    compileOnly("com.intellectualsites.arkitektonika:Arkitektonika-Client:VERSION")
}
<dependencies>
    <dependency>
      <groupId>com.intellectualsites.arkitektonika</groupId>
      <artifactId>Arkitektonika-Client</artifactId>
      <version>VERSION</version>
    </dependency>
</dependencies>

About

Java client for the Arkitektonika API

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Contributors 6

Languages