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
                    
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.CalCom.HttpClients" Version="4.0.124" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.CalCom.HttpClients" Version="4.0.124" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.CalCom.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.CalCom.HttpClients --version 4.0.124
                    
#r "nuget: Soenneker.CalCom.HttpClients, 4.0.124"
                    
#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.CalCom.HttpClients@4.0.124
                    
#: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.CalCom.HttpClients&version=4.0.124
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.CalCom.HttpClients&version=4.0.124
                    
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.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 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. 
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.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
Loading failed