Soenneker.Lemlist.OpenApiClientUtil
11.0.127
Prefix Reserved
dotnet add package Soenneker.Lemlist.OpenApiClientUtil --version 11.0.127
NuGet\Install-Package Soenneker.Lemlist.OpenApiClientUtil -Version 11.0.127
<PackageReference Include="Soenneker.Lemlist.OpenApiClientUtil" Version="11.0.127" />
<PackageVersion Include="Soenneker.Lemlist.OpenApiClientUtil" Version="11.0.127" />
<PackageReference Include="Soenneker.Lemlist.OpenApiClientUtil" />
paket add Soenneker.Lemlist.OpenApiClientUtil --version 11.0.127
#r "nuget: Soenneker.Lemlist.OpenApiClientUtil, 11.0.127"
#:package Soenneker.Lemlist.OpenApiClientUtil@11.0.127
#addin nuget:?package=Soenneker.Lemlist.OpenApiClientUtil&version=11.0.127
#tool nuget:?package=Soenneker.Lemlist.OpenApiClientUtil&version=11.0.127
Soenneker.Lemlist.OpenApiClientUtil
Create and reuse an authenticated LemlistOpenApiClient over the shared Lemlist HTTP transport.
Install
dotnet add package Soenneker.Lemlist.OpenApiClientUtil
Configuration
{
"Lemlist": {
"ApiKey": "your-api-key"
}
}
Set Lemlist:ClientBaseUrl only when the API should use a different base URL.
Usage
using Soenneker.Lemlist.OpenApiClientUtil.Abstract;
using Soenneker.Lemlist.OpenApiClientUtil.Registrars;
services.AddLemlistOpenApiClientUtilAsScoped();
ILemlistOpenApiClientUtil lemlist =
serviceProvider.GetRequiredService<ILemlistOpenApiClientUtil>();
var client = await lemlist.Get(cancellationToken);
var campaigns = await client.Campaigns.GetAsync(cancellationToken: cancellationToken);
Get() creates the typed client on first use and returns the same instance for the utility's lifetime. The scoped registration intentionally keeps the underlying authenticated HTTP client singleton: a scope can release its typed utility without tearing down the transport shared by other scopes.
Use AddLemlistOpenApiClientUtilAsSingleton() when the typed client should also live for the application lifetime.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Lemlist.HttpClients (>= 11.0.83)
- Soenneker.Lemlist.OpenApiClient (>= 4.0.60)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.127 | 0 | 10/26/2026 |
| 11.0.126 | 35 | 10/26/2026 |
| 4.0.125 | 58 | 10/22/2026 |
| 4.0.124 | 51 | 10/21/2026 |
| 4.0.123 | 89 | 10/15/2026 |
| 4.0.122 | 86 | 10/15/2026 |
| 4.0.121 | 96 | 10/14/2026 |
| 4.0.120 | 80 | 10/14/2026 |
| 4.0.118 | 87 | 10/14/2026 |
| 4.0.117 | 78 | 10/14/2026 |
| 4.0.116 | 85 | 10/14/2026 |
| 4.0.109 | 85 | 10/13/2026 |
| 4.0.107 | 81 | 10/12/2026 |
| 4.0.106 | 95 | 10/11/2026 |
| 4.0.105 | 94 | 10/11/2026 |
| 4.0.104 | 93 | 10/11/2026 |
| 4.0.103 | 101 | 10/10/2026 |
| 4.0.102 | 98 | 10/10/2026 |
| 4.0.101 | 106 | 10/7/2026 |
| 4.0.100 | 98 | 10/7/2026 |
Update dependency Soenneker.Lemlist.HttpClients to v11 (#108)