Soenneker.Calendly.HttpClients 11.0.172

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

Soenneker.Calendly.HttpClients

A cached, authenticated HttpClient for Calendly's API.

Installation

dotnet add package Soenneker.Calendly.HttpClients

Configuration

{
  "Calendly": {
    "ApiKey": "your-personal-access-token"
  }
}

Calendly:ApiKey is required and is sent as Authorization: Bearer {token} by default. For compatible gateways or alternate credentials, Calendly:ClientBaseUrl, Calendly:AuthHeaderName, and Calendly:AuthHeaderValueTemplate can override those defaults. The template must contain {token} where the configured value belongs.

Registration and usage

using Soenneker.Calendly.HttpClients.Abstract;
using Soenneker.Calendly.HttpClients.Registrars;

services.AddCalendlyOpenApiHttpClientAsSingleton();

public sealed class CalendlyService(ICalendlyOpenApiHttpClient clientProvider)
{
    public async Task<string> GetCurrentUser(CancellationToken cancellationToken)
    {
        HttpClient client = await clientProvider.Get(cancellationToken);
        return await client.GetStringAsync("users/me", cancellationToken);
    }
}

The provider owns its named cache entry. Disposing it removes the entry and disposes the cached client. Prefer singleton registration for normal application-wide use.

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.Calendly.HttpClients:

Package Downloads
Soenneker.Calendly.OpenApiClientUtil

A thread-safe utility for obtaining Calendly's OpenApiClient singleton.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.180 0 11/19/2026
11.0.179 0 11/19/2026
11.0.178 0 11/18/2026
11.0.177 0 11/18/2026
11.0.173 104 11/15/2026
11.0.172 95 11/15/2026
11.0.170 124 11/11/2026
11.0.169 94 11/11/2026
11.0.168 105 11/11/2026
11.0.167 87 11/11/2026
11.0.166 211 11/3/2026
11.0.165 90 11/3/2026
11.0.164 100 11/3/2026
11.0.162 103 11/3/2026
11.0.161 195 10/27/2026
11.0.160 131 10/27/2026
11.0.159 126 10/26/2026
11.0.158 97 10/26/2026
11.0.157 103 10/26/2026
4.0.156 188 10/15/2026
Loading failed

Updated Soenneker.Utils.HttpClientCache to 11.0.2155