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

// Install hetznercloudapi as a Cake Tool
#tool nuget:?package=hetznercloudapi&version=3.0.37-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 380 12/21/2023
3.0.38-beta 133 12/20/2023
3.0.37-beta 134 12/20/2023
3.0.30-beta 152 12/3/2023
3.0.29-beta 142 12/3/2023
3.0.28-beta 135 12/3/2023
3.0.27-beta 124 12/3/2023
3.0.26-beta 139 12/3/2023
3.0.25-beta 134 12/3/2023
3.0.24-beta 137 12/3/2023
3.0.23-beta 127 12/3/2023
3.0.22-beta 130 12/3/2023
3.0.21-beta 134 12/2/2023
2.0.16 2,885 4/22/2023
2.0.15 272 3/20/2023
2.0.14 481 12/21/2022
2.0.12 349 12/21/2022
2.0.11 312 12/20/2022
2.0.10 382 12/1/2022
2.0.9 374 12/1/2022
2.0.8 421 11/6/2022
2.0.7 429 11/6/2022
2.0.6 422 11/4/2022
2.0.5 398 11/4/2022
2.0.4 416 11/4/2022
2.0.3 413 11/4/2022
1.0.30 801 1/30/2021
1.0.27 901 9/29/2018
1.0.26 825 9/3/2018
1.0.21 803 9/2/2018
1.0.20 855 8/29/2018
1.0.4 781 8/27/2018
1.0.3 840 8/25/2018
1.0.2 836 8/11/2018
1.0.1 893 8/9/2018