hetznercloudapi 3.0.39-beta

This is a prerelease version of hetznercloudapi.
dotnet add package hetznercloudapi --version 3.0.39-beta
                    
NuGet\Install-Package hetznercloudapi -Version 3.0.39-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.39-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="hetznercloudapi" Version="3.0.39-beta" />
                    
Directory.Packages.props
<PackageReference Include="hetznercloudapi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add hetznercloudapi --version 3.0.39-beta
                    
#r "nuget: hetznercloudapi, 3.0.39-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.
#:package hetznercloudapi@3.0.39-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=hetznercloudapi&version=3.0.39-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=hetznercloudapi&version=3.0.39-beta&prerelease
                    
Install as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 547 12/21/2023
3.0.38-beta 160 12/20/2023
3.0.37-beta 163 12/20/2023
3.0.30-beta 178 12/3/2023
3.0.29-beta 173 12/3/2023
3.0.28-beta 152 12/3/2023
3.0.27-beta 150 12/3/2023
3.0.26-beta 172 12/3/2023
3.0.25-beta 166 12/3/2023
3.0.24-beta 165 12/3/2023
3.0.23-beta 156 12/3/2023
3.0.22-beta 162 12/3/2023
3.0.21-beta 152 12/2/2023
2.0.16 4,919 4/22/2023
2.0.15 330 3/20/2023
2.0.14 555 12/21/2022
2.0.12 421 12/21/2022
2.0.11 378 12/20/2022
2.0.10 464 12/1/2022
2.0.9 452 12/1/2022
2.0.8 497 11/6/2022
2.0.7 541 11/6/2022
2.0.6 498 11/4/2022
2.0.5 478 11/4/2022
2.0.4 496 11/4/2022
2.0.3 492 11/4/2022
1.0.30 911 1/30/2021
1.0.27 1,056 9/29/2018
1.0.26 967 9/3/2018
1.0.21 952 9/2/2018
1.0.20 997 8/29/2018
1.0.4 928 8/27/2018
1.0.3 985 8/25/2018
1.0.2 983 8/11/2018
1.0.1 1,039 8/9/2018