{"id":13702454,"url":"https://github.com/lk-code/hetzner-cloud-api-net","last_synced_at":"2026-04-07T13:32:23.930Z","repository":{"id":34605693,"uuid":"138609066","full_name":"lk-code/hetzner-cloud-api-net","owner":"lk-code","description":"the project is a .NET library to access the Hetzner Cloud","archived":false,"fork":false,"pushed_at":"2023-12-21T23:23:47.000Z","size":10784,"stargazers_count":28,"open_issues_count":9,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-02T07:21:32.905Z","etag":null,"topics":["blazor","csharp","dotnet","hetzner","hetzner-cloud","maui","nuget","uwp","winui","wpf","xamarin"],"latest_commit_sha":null,"homepage":"https://lk-code.github.io/hetzner-cloud-api-net/","language":"JavaScript","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/lk-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"lk-code","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2018-06-25T14:49:58.000Z","updated_at":"2025-10-26T17:51:13.000Z","dependencies_parsed_at":"2023-11-28T22:29:44.124Z","dependency_job_id":"7a5e73a0-b8c5-41d4-86b6-ffc6e0d84a24","html_url":"https://github.com/lk-code/hetzner-cloud-api-net","commit_stats":{"total_commits":91,"total_committers":4,"mean_commits":22.75,"dds":0.05494505494505497,"last_synced_commit":"614ae2d3e0391698ace0ae7b4b847a7b8f6df9a9"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/lk-code/hetzner-cloud-api-net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Fhetzner-cloud-api-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Fhetzner-cloud-api-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Fhetzner-cloud-api-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Fhetzner-cloud-api-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lk-code","download_url":"https://codeload.github.com/lk-code/hetzner-cloud-api-net/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-code%2Fhetzner-cloud-api-net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31515144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["blazor","csharp","dotnet","hetzner","hetzner-cloud","maui","nuget","uwp","winui","wpf","xamarin"],"created_at":"2024-08-02T21:00:36.038Z","updated_at":"2026-04-07T13:32:23.913Z","avatar_url":"https://github.com/lk-code.png","language":"JavaScript","funding_links":["https://github.com/sponsors/lk-code","https://www.buymeacoffee.com/lk.code"],"categories":["Libraries"],"sub_categories":[".NET"],"readme":"# Hetzner Cloud API for .NET\n\n![Hetzner Cloud API for .NET](https://raw.githubusercontent.com/lk-code/hetzner-cloud-api-net/main/icon_128.png)\n\n[![.NET Version](https://img.shields.io/badge/dotnet%20version-net6.0-blue?style=flat-square)](http://www.nuget.org/packages/hetznercloudapi/)\n[![License](https://img.shields.io/github/license/lk-code/hetzner-cloud-api-net.svg?style=flat-square)](https://github.com/lk-code/hetzner-cloud-api-net/blob/master/LICENSE)\n[![Build](https://github.com/lk-code/hetzner-cloud-api-net/actions/workflows/dotnet.yml/badge.svg)](https://github.com/lk-code/hetzner-cloud-api-net/actions/workflows/dotnet.yml)\n[![Downloads](https://img.shields.io/nuget/dt/hetznercloudapi.svg?style=flat-square)](http://www.nuget.org/packages/hetznercloudapi/)\n[![NuGet](https://img.shields.io/nuget/v/hetznercloudapi.svg?style=flat-square)](http://nuget.org/packages/hetznercloudapi)\n\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=lk-code_hetzner-cloud-api-net\u0026metric=ncloc)](https://sonarcloud.io/summary/new_code?id=lk-code_hetzner-cloud-api-net)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=lk-code_hetzner-cloud-api-net\u0026metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=lk-code_hetzner-cloud-api-net)\n\nHere you can find a .NET library for the Hetzner Cloud API, with which all functions of the endpoints can be used.\n\nThe current version is provided as .NET Standard 2.0, currently I am working on a new version for .NET 6 (with features like dependency injection, etc.)\n\n\u003ca href=\"https://www.buymeacoffee.com/lk.code\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n\n# Hetzner Cloud API Client for .NET\n\n## installation\n\nsee the getting started page here https://github.com/lk-code/hetzner-cloud-api-net/wiki/getting-started\n\n## demo\n\nsee the demo projects here https://github.com/lk-code/hetzner-cloud-api-net-demo\n\n## documentation\n\nsee the documentation on https://github.com/lk-code/hetzner-cloud-api-net/wiki\n\n## informations :)\n\nsee the demo projects here https://github.com/lk-code/hetzner-cloud-api-net-demo\n\n# New Documentation for Hetzner Cloud API Client (based on v3-Client)\n\n[![.NET Version](https://img.shields.io/badge/dotnet%20version-net8.0-blue?style=flat-square)](http://www.nuget.org/packages/hetznercloudapi/)\n[![License](https://img.shields.io/github/license/lk-code/hetzner-cloud-api-net.svg?style=flat-square)](https://github.com/lk-code/hetzner-cloud-api-net/blob/master/LICENSE)\n[![Build](https://github.com/lk-code/hetzner-cloud-api-net/actions/workflows/dotnet.yml/badge.svg)](https://github.com/lk-code/hetzner-cloud-api-net/actions/workflows/dotnet.yml)\n[![Downloads](https://img.shields.io/nuget/dt/hetznercloudapi.svg?style=flat-square)](http://www.nuget.org/packages/hetznercloudapi/)\n[![NuGet](https://img.shields.io/nuget/v/hetznercloudapi.svg?style=flat-square)](http://nuget.org/packages/hetznercloudapi)\n\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=lk-code_hetzner-cloud-api-net\u0026metric=ncloc)](https://sonarcloud.io/summary/new_code?id=lk-code_hetzner-cloud-api-net)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=lk-code_hetzner-cloud-api-net\u0026metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=lk-code_hetzner-cloud-api-net)\n\n## installation\n\nThe v3 client is currently only available as a **prerelease**. Accordingly, the **\"Include Prerelease\"** flag must be set in the NuGet search.\n\n```\ndotnet add package hetznercloudapi\n```\n\n## usage\n\n### initialization\n\n#### API Token via AppSettings\n\nadd the following block to your AppSettings:\n\n```\n{\n    \"HetznerCloud\": {\n        \"ApiToken\": \"YOUR_API_TOKEN\"\n    }\n}\n```\n\n#### Load API Token dynamically\n\nAlternatively, the API token can also be set dynamically:\n\n```\nIHetznerCloudService _hetznerCloudService = {get instance via DI};\n\n...\n\n_hetznerCloudService.LoadApiToken(\"{YOUR_API_TOKEN}\");\n```\n\n### Server\n\nAccess via `IServerService`\n\n#### Get all servers\n\nDefinition:\n\n```\nTask\u003cPage\u003cServer\u003e\u003e GetAllAsync(int page = 1,\n    int itemsPerPage = 25,\n    List\u003cIFilter\u003e? filter = null,\n    Sorting\u003cServerSortField\u003e? sorting = null,\n    CancellationToken cancellationToken = default);\n```\n\n[![Contributors](https://contrib.rocks/image?repo=lk-code/hetzner-cloud-api-net)](https://github.com/lk-code/hetzner-cloud-api-net/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flk-code%2Fhetzner-cloud-api-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flk-code%2Fhetzner-cloud-api-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flk-code%2Fhetzner-cloud-api-net/lists"}