Soenneker.Porkbun.Client 11.0.527

Prefix Reserved
dotnet add package Soenneker.Porkbun.Client --version 11.0.527
                    
NuGet\Install-Package Soenneker.Porkbun.Client -Version 11.0.527
                    
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.Porkbun.Client" Version="11.0.527" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Porkbun.Client" Version="11.0.527" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Porkbun.Client" />
                    
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 Soenneker.Porkbun.Client --version 11.0.527
                    
#r "nuget: Soenneker.Porkbun.Client, 11.0.527"
                    
#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.Porkbun.Client@11.0.527
                    
#: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.Porkbun.Client&version=11.0.527
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Porkbun.Client&version=11.0.527
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Porkbun.Client

Provides a cached HttpClient configured for Porkbun's domain, DNS, SSL, pricing, and account APIs.

Installation

dotnet add package Soenneker.Porkbun.Client

Configuration

{
  "Porkbun": {
    "ApiKey": "your-api-key",
    "SecretApiKey": "your-secret-api-key"
  }
}

The default base URL is https://api.porkbun.com/api/json/v3/. Override it with Porkbun:ClientBaseUrl when testing through a proxy or compatible endpoint.

Usage

using Soenneker.Porkbun.Client.Abstract;
using Soenneker.Porkbun.Client.Registrars;

services.AddPorkbunClientUtilAsSingleton();

IPorkbunClientUtil porkbun = serviceProvider
    .GetRequiredService<IPorkbunClientUtil>();

HttpClient client = await porkbun.Get(cancellationToken);
HttpResponseMessage response = await client.GetAsync(
    "pricing/get",
    cancellationToken);
response.EnsureSuccessStatusCode();

The client sends X-API-Key and X-Secret-API-Key on every request. Use an Idempotency-Key header for writes that may be retried, and use Porkbun's dryRun request field before billable or destructive operations when the endpoint supports it.

The provider owns the cached client. Scoped provider registrations use separate cache entries, so disposing one scope does not invalidate another scope's client.

Product 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.

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
11.0.527 95 11/19/2026
11.0.526 100 11/19/2026
11.0.525 101 11/18/2026
11.0.524 99 11/18/2026
11.0.523 101 11/18/2026
11.0.521 120 11/15/2026
11.0.520 111 11/15/2026
11.0.519 105 11/11/2026
11.0.518 93 11/11/2026
11.0.517 94 11/11/2026
11.0.516 95 11/11/2026
11.0.515 93 11/11/2026
11.0.513 93 11/10/2026
11.0.512 145 11/3/2026
11.0.511 93 11/3/2026
11.0.510 90 11/3/2026
11.0.509 91 11/3/2026
11.0.508 89 11/3/2026
11.0.507 127 10/27/2026
11.0.506 98 10/27/2026
Loading failed

Updated Multiple NuGet packages