Simple Java client for the Hetzner Cloud API.
Important message about this project here
This project uses Maven as build automation.
Just run mvn clean install
to install it in the local Maven repository cache.
Dependency:
<dependencies>
<dependency>
<groupId>me.tomsdevsn</groupId>
<artifactId>hetznercloud-api</artifactId>
<version>3.2.6</version>
</dependency>
</dependencies>
Put this in the build.gradle
file of the project:
repositories {
mavenCentral()
}
dependencies {
implementation "me.tomsdevsn:hetznercloud-api:3.2.6"
}
kotlin-dsl
dependencies {
implementation("me.tomsdevsn:hetznercloud-api:3.2.6")
}
The tests need an API Token for the Hetzner Cloud. The API token has to be set as an environment variable called HCLOUD_TOKEN
.
To obtain an API key, please see the official API documentation.
HCLOUD_TOKEN="${api_key}" mvn test
The JavaDocs are available here
The following dependencies were used in this project:
- jackson-databind under Apache2.0 License
- Lombok under MIT License