Soenneker.Vercel.HttpClients 11.0.181

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

alternate text is missing from this package README image Soenneker.Vercel.HttpClients

Provides a cached HttpClient configured for the Vercel REST API with Bearer-token authentication.

Installation

dotnet add package Soenneker.Vercel.HttpClients

Configuration

{
  "Vercel": {
    "AccessToken": "your-vercel-access-token"
  }
}

Vercel:ApiKey remains supported as a legacy name for the same token value. The token must have access to the personal account or team whose resources are requested.

Registration

using Soenneker.Vercel.HttpClients.Registrars;

services.AddVercelOpenApiHttpClientAsSingleton();

Scoped registration is available through AddVercelOpenApiHttpClientAsScoped(). Each provider instance owns a separate cached client and removes only that client when disposed.

Usage

using Soenneker.Vercel.HttpClients.Abstract;

public sealed class DeploymentReader
{
    private readonly IVercelOpenApiHttpClient _clients;

    public DeploymentReader(IVercelOpenApiHttpClient clients)
    {
        _clients = clients;
    }

    public async ValueTask<HttpResponseMessage> GetDeployments(
        string? teamId,
        CancellationToken cancellationToken)
    {
        HttpClient client = await _clients.Get(cancellationToken);
        string path = "v6/deployments";

        if (!string.IsNullOrWhiteSpace(teamId))
            path += $"?teamId={Uri.EscapeDataString(teamId)}";

        return await client.GetAsync(path, cancellationToken);
    }
}

The base address is https://api.vercel.com/; individual request paths include their API version. Requests include Authorization: Bearer <AccessToken> by default.

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

Package Downloads
Soenneker.Vercel.OpenApiClientUtil

Provides a cached Vercel OpenAPI client backed by authenticated transport

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.181 137 11/19/2026
11.0.178 133 11/18/2026
11.0.175 160 11/15/2026
11.0.174 129 11/15/2026
11.0.173 158 11/11/2026
11.0.172 105 11/11/2026
11.0.171 109 11/11/2026
11.0.170 109 11/11/2026
11.0.168 238 11/3/2026
11.0.167 109 11/3/2026
11.0.166 104 11/3/2026
11.0.165 117 11/3/2026
11.0.164 112 11/3/2026
11.0.163 237 10/27/2026
11.0.162 124 10/27/2026
11.0.161 117 10/26/2026
11.0.160 104 10/26/2026
11.0.159 106 10/26/2026
4.0.158 293 10/15/2026
4.0.157 129 10/14/2026
Loading failed

Updated Multiple NuGet packages