Soenneker.Rebrickable.OpenApiClient 11.0.358

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

Generated request builders for Rebrickable LEGO sets, parts, colors, minifigures, elements, themes, and user collections.

Installation

dotnet add package Soenneker.Rebrickable.OpenApiClient

Usage

using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Rebrickable.OpenApiClient;

using var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Add("Authorization", $"key {apiKey}");

var adapter = new HttpClientRequestAdapter(
    new AnonymousAuthenticationProvider(),
    httpClient: httpClient)
{
    BaseUrl = "https://rebrickable.com"
};

var client = new RebrickableOpenApiClient(adapter);
await using Stream colors = await client.Api.V3.Lego.Colors.GetAsync(
    cancellationToken: cancellationToken);

Rebrickable requires the literal key prefix in the Authorization header. The generated operations return raw response streams because that is how the source schema describes their payloads; callers own and must dispose those streams.

List endpoints are paginated. Use the page and page_size query parameters or deserialize the response's next value rather than assuming the first stream contains every result.

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.Rebrickable.OpenApiClient:

Package Downloads
Soenneker.Rebrickable.ClientUtil

Provides a lazily initialized, authenticated Rebrickable API client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.358 0 10/26/2026
11.0.357 37 10/26/2026
4.0.356 57 10/25/2026
4.0.355 55 10/24/2026
4.0.354 53 10/23/2026
4.0.353 57 10/22/2026
4.0.352 58 10/21/2026
4.0.351 101 10/20/2026
4.0.350 138 10/14/2026
4.0.349 160 10/14/2026
4.0.343 109 10/13/2026
4.0.342 92 10/13/2026
4.0.341 89 10/12/2026
4.0.340 184 10/11/2026
4.0.339 94 10/10/2026
4.0.338 203 10/3/2026
4.0.337 114 10/1/2026
4.0.336 218 9/27/2026
4.0.335 142 9/25/2026
4.0.334 173 9/24/2026
Loading failed

Enable runtime async for compatible .NET 11 projects