This is the official API documentation for the Public Hetzner Cloud.
Note
Auto-generated Nim client for the Hetzner Cloud API, generated from the Hetzner Cloud OpenAPI 3.x spec using the Nimbase CLI and released by the NimbaseBot GitHub Action.
nimble install hetznerimport hetzner
proc main() {.async.} =
var client = initHetznerClient("your-api-key")
let servers = await client.getServers()
echo servers
waitFor main()Clients are regenerated automatically from the upstream spec by the
nimbase.yml workflow: it checks for spec
changes on a nightly schedule (or via manual dispatch), regenerates src/ and
tests/, runs nimble test, bumps the patch version, and commits/tags/releases
the update. If the tests fail, the bot files a GitHub issue with the errors
instead of releasing.
MIT