Soenneker.Shippo.HttpClients 11.0.170

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

Provides a reusable HttpClient configured with Shippo's API base address and token authentication.

Installation

dotnet add package Soenneker.Shippo.HttpClients

Configuration

{
  "Shippo": {
    "ApiKey": "your-shippo-token"
  }
}

Shippo:ClientBaseUrl, Shippo:AuthHeaderName, and Shippo:AuthHeaderValueTemplate can override the defaults when needed. The value template must contain {token}.

Usage

using Soenneker.Shippo.HttpClients.Abstract;
using Soenneker.Shippo.HttpClients.Registrars;

services.AddShippoOpenApiHttpClientAsSingleton();

public sealed class ShippoRequestSender
{
    private readonly IShippoOpenApiHttpClient _shippo;

    public ShippoRequestSender(IShippoOpenApiHttpClient shippo)
    {
        _shippo = shippo;
    }

    public async Task<HttpResponseMessage> GetCarrierAccounts(CancellationToken cancellationToken)
    {
        HttpClient client = await _shippo.Get(cancellationToken);
        return await client.GetAsync("carrier_accounts", cancellationToken);
    }
}

The provider owns the cached HttpClient; disposing the provider removes and disposes that client. Scoped registration creates an independently owned client for each scope.

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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.Shippo.HttpClients:

Package Downloads
Soenneker.Shippo.OpenApiClientUtil

Provides a lazily initialized, authenticated Shippo API client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.170 96 11/15/2026
11.0.169 91 11/15/2026
11.0.168 122 11/11/2026
11.0.167 99 11/11/2026
11.0.166 96 11/11/2026
11.0.165 93 11/11/2026
11.0.164 87 11/11/2026
11.0.163 87 11/11/2026
11.0.162 158 11/3/2026
11.0.161 103 11/3/2026
11.0.160 102 11/3/2026
11.0.158 117 11/3/2026
11.0.157 205 10/27/2026
11.0.156 127 10/27/2026
11.0.154 133 10/26/2026
11.0.153 101 10/26/2026
4.0.152 169 10/15/2026
4.0.151 93 10/15/2026
4.0.149 121 10/14/2026
4.0.147 109 10/14/2026
Loading failed

Updated Soenneker.Utils.HttpClientCache to 11.0.2156