# @apiclient.xyz/hetznercloud an unofficial api client for the hetzner cloud api ## Availabililty and Links * [npmjs.org (npm package)](https://www.npmjs.com/package/@apiclient.xyz/hetznercloud) * [gitlab.com (source)](https://gitlab.com/apiclient.xyz/hetznercloud) * [github.com (source mirror)](https://github.com/apiclient.xyz/hetznercloud) * [docs (typedoc)](https://apiclient.xyz.gitlab.io/hetznercloud/) ## Status for master Status Category | Status Badge -- | -- GitLab Pipelines | [![pipeline status](https://gitlab.com/apiclient.xyz/hetznercloud/badges/master/pipeline.svg)](https://lossless.cloud) GitLab Pipline Test Coverage | [![coverage report](https://gitlab.com/apiclient.xyz/hetznercloud/badges/master/coverage.svg)](https://lossless.cloud) npm | [![npm downloads per month](https://badgen.net/npm/dy/@apiclient.xyz/hetznercloud)](https://lossless.cloud) Snyk | [![Known Vulnerabilities](https://badgen.net/snyk/apiclient.xyz/hetznercloud)](https://lossless.cloud) TypeScript Support | [![TypeScript](https://badgen.net/badge/TypeScript/>=%203.x/blue?icon=typescript)](https://lossless.cloud) node Support | [![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/) Code Style | [![Code Style](https://badgen.net/badge/style/prettier/purple)](https://lossless.cloud) PackagePhobia (total standalone install weight) | [![PackagePhobia](https://badgen.net/packagephobia/install/@apiclient.xyz/hetznercloud)](https://lossless.cloud) PackagePhobia (package size on registry) | [![PackagePhobia](https://badgen.net/packagephobia/publish/@apiclient.xyz/hetznercloud)](https://lossless.cloud) BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bundlephobia/minzip/@apiclient.xyz/hetznercloud)](https://lossless.cloud) ## Usage A modern approach to talking to the hetzner API. ```typescript // assuming top level await here import hetznerCloud from '@apiclient.xyz/hetznercloud' const myhetznerAccount = new hetznerCloud.HetznerAccount('myToken'); const servers = await myhetznerAccount.getServers(); for (const server of servers) { await server.delete(); } ``` ## Legal > MIT licensed | **©** [Task Venture Capital GmbH](https://task.vc) | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)