Soenneker.Bunny.OpenApiClient
11.0.134
Prefix Reserved
dotnet add package Soenneker.Bunny.OpenApiClient --version 11.0.134
NuGet\Install-Package Soenneker.Bunny.OpenApiClient -Version 11.0.134
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="Soenneker.Bunny.OpenApiClient" Version="11.0.134" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Bunny.OpenApiClient" Version="11.0.134" />
<PackageReference Include="Soenneker.Bunny.OpenApiClient" />
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 Soenneker.Bunny.OpenApiClient --version 11.0.134
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Bunny.OpenApiClient, 11.0.134"
#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 Soenneker.Bunny.OpenApiClient@11.0.134
#: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=Soenneker.Bunny.OpenApiClient&version=11.0.134
#tool nuget:?package=Soenneker.Bunny.OpenApiClient&version=11.0.134
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Bunny.OpenApiClient
A Kiota-generated .NET client containing request builders and models for bunny.net APIs.
Installation
dotnet add package Soenneker.Bunny.OpenApiClient
Creating the client
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Bunny.OpenApiClient;
httpClient.BaseAddress = new Uri("https://api.bunny.net");
httpClient.DefaultRequestHeaders.Add("AccessKey", accessKey);
var adapter = new HttpClientRequestAdapter(
new AnonymousAuthenticationProvider(),
httpClient: httpClient);
var client = new BunnyOpenApiClient(adapter);
For dependency-injection setup and cached client creation, use Soenneker.Bunny.OpenApiClientUtil.
Usage
using Soenneker.Bunny.OpenApiClient.Models;
List<PullZoneModel>? pullZones = await client
.Core
.Pullzone
.GetAsync(cancellationToken: cancellationToken);
The root client groups request builders under Core, Storage, Stream, CdnLogging, EdgeScripting, MagicContainers, OriginErrors, and Shield.
Important behavior
- Those products use different hosts and can require different access keys or authentication formats. One client has one request adapter; create a separate configured client for each host and credential set.
- The main API commonly uses a raw
AccessKeyheader. Some endpoints accept authorization tokens or product-specific keys instead. - Request and response types are in
Soenneker.Bunny.OpenApiClient.Models. - Generated methods expose Kiota request configuration for headers, query parameters, and middleware options where supported.
- Kiota surfaces mapped non-success responses through generated error models and
ApiExceptionbehavior. - The source is generated. Configure authentication, retries, and logging in the adapter or HTTP pipeline instead of editing generated files.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.2.0)
- Microsoft.Kiota.Serialization.Form (>= 2.2.0)
- Microsoft.Kiota.Serialization.Json (>= 2.2.0)
- Microsoft.Kiota.Serialization.Multipart (>= 2.2.0)
- Microsoft.Kiota.Serialization.Text (>= 2.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Bunny.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.Bunny.OpenApiClientUtil
A thread-safe utility for obtaining Bunny's OpenApiClient singleton. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.134 | 123 | 12/2/2026 |
| 11.0.133 | 72 | 12/2/2026 |
| 11.0.132 | 132 | 12/1/2026 |
| 11.0.131 | 112 | 12/1/2026 |
| 11.0.130 | 206 | 11/26/2026 |
| 11.0.129 | 107 | 11/25/2026 |
| 11.0.128 | 110 | 11/24/2026 |
| 11.0.127 | 115 | 11/20/2026 |
| 11.0.126 | 120 | 11/18/2026 |
| 11.0.124 | 113 | 11/18/2026 |
| 11.0.123 | 111 | 11/18/2026 |
| 11.0.122 | 108 | 11/17/2026 |
| 11.0.121 | 102 | 11/17/2026 |
| 11.0.120 | 135 | 11/14/2026 |
| 11.0.119 | 110 | 11/12/2026 |
| 11.0.118 | 111 | 11/12/2026 |
| 11.0.117 | 129 | 11/11/2026 |
| 11.0.116 | 139 | 11/10/2026 |
| 11.0.115 | 127 | 11/3/2026 |
| 11.0.114 | 163 | 11/3/2026 |
Loading failed
Update NuGet resilient publish to v6