hetznercloudapi 3.0.30-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.30-beta                
NuGet\Install-Package hetznercloudapi -Version 3.0.30-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.30-beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add hetznercloudapi --version 3.0.30-beta                
#r "nuget: hetznercloudapi, 3.0.30-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.30-beta&prerelease

// Install hetznercloudapi as a Cake Tool
#tool nuget:?package=hetznercloudapi&version=3.0.30-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 333 12/21/2023
3.0.38-beta 128 12/20/2023
3.0.37-beta 127 12/20/2023
3.0.30-beta 147 12/3/2023
3.0.29-beta 137 12/3/2023
3.0.28-beta 130 12/3/2023
3.0.27-beta 119 12/3/2023
3.0.26-beta 133 12/3/2023
3.0.25-beta 127 12/3/2023
3.0.24-beta 132 12/3/2023
3.0.23-beta 122 12/3/2023
3.0.22-beta 125 12/3/2023
3.0.21-beta 129 12/2/2023
2.0.16 2,721 4/22/2023
2.0.15 262 3/20/2023
2.0.14 474 12/21/2022
2.0.12 342 12/21/2022
2.0.11 305 12/20/2022
2.0.10 375 12/1/2022
2.0.9 367 12/1/2022
2.0.8 414 11/6/2022
2.0.7 422 11/6/2022
2.0.6 415 11/4/2022
2.0.5 391 11/4/2022
2.0.4 409 11/4/2022
2.0.3 406 11/4/2022
1.0.30 792 1/30/2021
1.0.27 887 9/29/2018
1.0.26 810 9/3/2018
1.0.21 788 9/2/2018
1.0.20 839 8/29/2018
1.0.4 767 8/27/2018
1.0.3 824 8/25/2018
1.0.2 822 8/11/2018
1.0.1 880 8/9/2018