hetznercloudapi 3.0.23-beta

This is a prerelease version of hetznercloudapi.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package hetznercloudapi --version 3.0.23-beta                
NuGet\Install-Package hetznercloudapi -Version 3.0.23-beta                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="hetznercloudapi" Version="3.0.23-beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add hetznercloudapi --version 3.0.23-beta                
#r "nuget: hetznercloudapi, 3.0.23-beta"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install hetznercloudapi as a Cake Addin
#addin nuget:?package=hetznercloudapi&version=3.0.23-beta&prerelease

// Install hetznercloudapi as a Cake Tool
#tool nuget:?package=hetznercloudapi&version=3.0.23-beta&prerelease                

Hetzner Cloud API for .NET

Hetzner Cloud API for .NET

.NET Version License Build Downloads NuGet

Lines of Code Vulnerabilities

Here you can find a .NET library for the Hetzner Cloud API, with which all functions of the endpoints can be used.

The 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.)

<a href="https://www.buymeacoffee.com/lk.code" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

Hetzner Cloud API Client for .NET

installation

see the getting started page here https://github.com/lk-code/hetzner-cloud-api-net/wiki/getting-started

demo

see the demo projects here https://github.com/lk-code/hetzner-cloud-api-net-demo

documentation

see the documentation on https://github.com/lk-code/hetzner-cloud-api-net/wiki

informations 😃

see the demo projects here https://github.com/lk-code/hetzner-cloud-api-net-demo

New Documentation for Hetzner Cloud API Client (based on v3-Client)

.NET Version License Build Downloads NuGet

Lines of Code Vulnerabilities

installation

The v3 client is currently only available as a prerelease. Accordingly, the "Include Prerelease" flag must be set in the NuGet search.

dotnet add package hetznercloudapi

usage

initialization

API Token via AppSettings

add the following block to your AppSettings:

{
    "HetznerCloud": {
        "ApiToken": "YOUR_API_TOKEN"
    }
}
Load API Token dynamically

Alternatively, the API token can also be set dynamically:

IHetznerCloudService _hetznerCloudService = {get instance via DI};

...

_hetznerCloudService.LoadApiToken("{YOUR_API_TOKEN}");

Server

Access via IServerService

Get all servers

Definition:

Task<Page<Server>> GetAllAsync(int page = 1,
    int itemsPerPage = 25,
    List<IFilter>? filter = null,
    Sorting<ServerSortField>? sorting = null,
    CancellationToken cancellationToken = default);

Contributors

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.39-beta 344 12/21/2023
3.0.38-beta 131 12/20/2023
3.0.37-beta 130 12/20/2023
3.0.30-beta 150 12/3/2023
3.0.29-beta 140 12/3/2023
3.0.28-beta 133 12/3/2023
3.0.27-beta 122 12/3/2023
3.0.26-beta 136 12/3/2023
3.0.25-beta 130 12/3/2023
3.0.24-beta 135 12/3/2023
3.0.23-beta 125 12/3/2023
3.0.22-beta 128 12/3/2023
3.0.21-beta 132 12/2/2023
2.0.16 2,762 4/22/2023
2.0.15 267 3/20/2023
2.0.14 479 12/21/2022
2.0.12 347 12/21/2022
2.0.11 310 12/20/2022
2.0.10 380 12/1/2022
2.0.9 372 12/1/2022
2.0.8 419 11/6/2022
2.0.7 427 11/6/2022
2.0.6 420 11/4/2022
2.0.5 396 11/4/2022
2.0.4 414 11/4/2022
2.0.3 411 11/4/2022
1.0.30 797 1/30/2021
1.0.27 892 9/29/2018
1.0.26 815 9/3/2018
1.0.21 793 9/2/2018
1.0.20 844 8/29/2018
1.0.4 772 8/27/2018
1.0.3 829 8/25/2018
1.0.2 827 8/11/2018
1.0.1 885 8/9/2018