Soenneker.CalCom.HttpClients
11.0.200
Prefix Reserved
dotnet add package Soenneker.CalCom.HttpClients --version 11.0.200
NuGet\Install-Package Soenneker.CalCom.HttpClients -Version 11.0.200
<PackageReference Include="Soenneker.CalCom.HttpClients" Version="11.0.200" />
<PackageVersion Include="Soenneker.CalCom.HttpClients" Version="11.0.200" />
<PackageReference Include="Soenneker.CalCom.HttpClients" />
paket add Soenneker.CalCom.HttpClients --version 11.0.200
#r "nuget: Soenneker.CalCom.HttpClients, 11.0.200"
#:package Soenneker.CalCom.HttpClients@11.0.200
#addin nuget:?package=Soenneker.CalCom.HttpClients&version=11.0.200
#tool nuget:?package=Soenneker.CalCom.HttpClients&version=11.0.200
Soenneker.CalCom.HttpClients
A cached HttpClient for Cal.com's v1 API that applies the required API key query parameter to every request.
Installation
dotnet add package Soenneker.CalCom.HttpClients
Configuration
{
"CalCom": {
"ApiKey": "your-api-key"
}
}
CalCom:ApiKey is required. Set CalCom:ClientBaseUrl only when requests should use a compatible proxy or test server instead of https://api.cal.com/v1.
Registration and usage
using Soenneker.CalCom.HttpClients.Abstract;
using Soenneker.CalCom.HttpClients.Registrars;
services.AddCalComOpenApiHttpClientAsSingleton();
public sealed class CalComService(ICalComOpenApiHttpClient clientProvider)
{
public async Task<string> GetUsers(CancellationToken cancellationToken)
{
HttpClient client = await clientProvider.Get(cancellationToken);
return await client.GetStringAsync("users", cancellationToken);
}
}
The provider owns its named cache entry. Disposing the provider removes that entry and disposes the cached client. Prefer singleton registration for normal application-wide use; scoped registration creates a scoped owner for the same named entry and should only be used when that lifetime is intentional.
Do not put the API key into request URLs yourself. The client adds apiKey at send time and preserves any existing query parameters.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.921)
- Soenneker.Utils.HttpClientCache (>= 11.0.2188)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.CalCom.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.CalCom.OpenApiClientUtil
A thread-safe utility for obtaining CalCom's OpenApiClient singleton. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.200 | 77 | 12/3/2026 |
| 11.0.199 | 54 | 12/3/2026 |
| 11.0.198 | 55 | 12/3/2026 |
| 11.0.197 | 59 | 12/3/2026 |
| 11.0.196 | 62 | 12/3/2026 |
| 11.0.195 | 59 | 12/2/2026 |
| 11.0.194 | 66 | 12/2/2026 |
| 11.0.193 | 60 | 12/2/2026 |
| 11.0.192 | 75 | 12/2/2026 |
| 11.0.191 | 64 | 12/2/2026 |
| 11.0.190 | 68 | 12/2/2026 |
| 11.0.189 | 66 | 12/2/2026 |
| 11.0.188 | 90 | 12/1/2026 |
| 11.0.187 | 105 | 12/1/2026 |
| 11.0.186 | 116 | 12/1/2026 |
| 11.0.185 | 98 | 12/1/2026 |
| 11.0.184 | 112 | 11/30/2026 |
| 11.0.183 | 117 | 11/30/2026 |
| 11.0.182 | 108 | 11/29/2026 |
| 11.0.181 | 182 | 11/19/2026 |
Updated Multiple NuGet packages