Soenneker.CalCom.HttpClients
4.0.124
Prefix Reserved
dotnet add package Soenneker.CalCom.HttpClients --version 4.0.124
NuGet\Install-Package Soenneker.CalCom.HttpClients -Version 4.0.124
<PackageReference Include="Soenneker.CalCom.HttpClients" Version="4.0.124" />
<PackageVersion Include="Soenneker.CalCom.HttpClients" Version="4.0.124" />
<PackageReference Include="Soenneker.CalCom.HttpClients" />
paket add Soenneker.CalCom.HttpClients --version 4.0.124
#r "nuget: Soenneker.CalCom.HttpClients, 4.0.124"
#:package Soenneker.CalCom.HttpClients@4.0.124
#addin nuget:?package=Soenneker.CalCom.HttpClients&version=4.0.124
#tool nuget:?package=Soenneker.CalCom.HttpClients&version=4.0.124
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 | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Extensions.Configuration (>= 4.0.891)
- Soenneker.Utils.HttpClientCache (>= 4.0.2080)
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 |
|---|---|---|
| 4.0.124 | 0 | 9/15/2026 |
| 4.0.123 | 54 | 9/13/2026 |
| 4.0.122 | 55 | 9/13/2026 |
| 4.0.121 | 57 | 9/13/2026 |
| 4.0.120 | 69 | 9/13/2026 |
| 4.0.119 | 55 | 9/12/2026 |
| 4.0.118 | 60 | 9/12/2026 |
| 4.0.117 | 70 | 9/12/2026 |
| 4.0.116 | 74 | 9/9/2026 |
| 4.0.115 | 63 | 9/9/2026 |
| 4.0.114 | 79 | 9/8/2026 |
| 4.0.113 | 125 | 9/8/2026 |
| 4.0.112 | 104 | 9/8/2026 |
| 4.0.111 | 97 | 9/7/2026 |
| 4.0.110 | 114 | 9/7/2026 |
| 4.0.108 | 109 | 9/7/2026 |
| 4.0.107 | 108 | 9/5/2026 |
| 4.0.106 | 91 | 9/5/2026 |
| 4.0.105 | 126 | 9/4/2026 |
| 4.0.104 | 107 | 9/4/2026 |