{"id":23215397,"url":"https://github.com/sinuscosinustan/hetznercloud-java","last_synced_at":"2026-01-11T17:39:37.257Z","repository":{"id":28691497,"uuid":"118900015","full_name":"sinuscosinustan/hetznercloud-java","owner":"sinuscosinustan","description":"Java Library for the Hetzner Cloud API","archived":false,"fork":false,"pushed_at":"2024-11-19T10:02:22.000Z","size":2591,"stargazers_count":48,"open_issues_count":14,"forks_count":20,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-17T01:16:58.298Z","etag":null,"topics":["automation","hcloud","hetzner","hetzner-cloud","java"],"latest_commit_sha":null,"homepage":"https://tomsiewert.github.io/hetznercloud-java","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinuscosinustan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-25T10:40:11.000Z","updated_at":"2024-11-22T19:21:49.000Z","dependencies_parsed_at":"2023-02-18T03:01:10.804Z","dependency_job_id":"72849e20-53fe-4211-adeb-fa041ee6d6ce","html_url":"https://github.com/sinuscosinustan/hetznercloud-java","commit_stats":null,"previous_names":["tomsdevsn/hetznercloud-java","sinuscosinustan/hetznercloud-java","tomsiewert/hetznercloud-java"],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinuscosinustan%2Fhetznercloud-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinuscosinustan%2Fhetznercloud-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinuscosinustan%2Fhetznercloud-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinuscosinustan%2Fhetznercloud-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinuscosinustan","download_url":"https://codeload.github.com/sinuscosinustan/hetznercloud-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248036064,"owners_count":21037092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","hcloud","hetzner","hetzner-cloud","java"],"created_at":"2024-12-18T20:08:56.294Z","updated_at":"2026-01-11T17:39:37.253Z","avatar_url":"https://github.com/sinuscosinustan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Hetzner Cloud API for Java\n==========================\n\n![Test Action Status](https://github.com/sinuscosinustan/hetznercloud-java/actions/workflows/test.yml/badge.svg)\n![Build Action Status](https://github.com/sinuscosinustan/hetznercloud-java/actions/workflows/build.yml/badge.svg)\n\nSimple Java client for the Hetzner Cloud API.\n\n**Important message about this project [here](https://github.com/sinuscosinustan/hetznercloud-java/discussions/45)**\n\n## Compile\n\nThis project uses Maven as build automation.\n\nJust run ``mvn clean install`` to install it in the local Maven repository cache.\n\n## How to use\n\n##### Maven\n\nDependency:\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.github.sinuscosinustan\u003c/groupId\u003e\n        \u003cartifactId\u003ehetznercloud-api\u003c/artifactId\u003e\n        \u003cversion\u003e5.0.1\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n##### Gradle\n\nPut this in the ``build.gradle`` file of the project:\n\n```groovy\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation \"io.github.sinuscosinustan:hetznercloud-api:5.0.1\"\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003ekotlin-dsl\u003c/summary\u003e\n\n```kotlin\ndependencies {\n    implementation(\"io.github.sinuscosinustan:hetznercloud-api:5.0.1\")\n}\n```\n\u003c/details\u003e\n\n## Requirements\n\n- Java 17 or higher\n- Maven 3.6.0 or higher\n\n## How to run tests\n\nThis project has unit tests, as well as integration tests.\n\n### Unit Tests (Default)\n```bash\nmvn test\n```\n\n### Integration Tests\nIntegration tests require an API Token for the Hetzner Cloud. Set the API token as an environment variable called `HCLOUD_TOKEN`.\n\nTo obtain an API key, please see [the official API documentation](https://docs.hetzner.cloud/#getting-started).\n\n```bash\nHCLOUD_TOKEN=\"${api_key}\" mvn test -Pintegration-tests\n```\n\n### Code Quality\n\n#### Checkstyle\nCheckstyle runs automatically during compilation:\n```bash\nmvn compile\n```\n\n#### Code Coverage (JaCoCo)\nGenerate code coverage reports:\n```bash\nmvn test\n```\nView the HTML report at `target/site/jacoco/index.html`\n\n## JavaDocs\n\nThe JavaDocs are available [here](https://sinuscosinustan.github.io/hetznercloud-java/)\n\n## Dependencies\n\nThe following dependencies were used in this project:\n* [jackson-databind](https://github.com/FasterXML/jackson-databind) under Apache2.0 License\n* [Lombok](https://projectlombok.org) under MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinuscosinustan%2Fhetznercloud-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinuscosinustan%2Fhetznercloud-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinuscosinustan%2Fhetznercloud-java/lists"}