Soenneker.Rebrickable.OpenApiClient
4.0.323
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Rebrickable.OpenApiClient --version 4.0.323
NuGet\Install-Package Soenneker.Rebrickable.OpenApiClient -Version 4.0.323
<PackageReference Include="Soenneker.Rebrickable.OpenApiClient" Version="4.0.323" />
<PackageVersion Include="Soenneker.Rebrickable.OpenApiClient" Version="4.0.323" />
<PackageReference Include="Soenneker.Rebrickable.OpenApiClient" />
paket add Soenneker.Rebrickable.OpenApiClient --version 4.0.323
#r "nuget: Soenneker.Rebrickable.OpenApiClient, 4.0.323"
#:package Soenneker.Rebrickable.OpenApiClient@4.0.323
#addin nuget:?package=Soenneker.Rebrickable.OpenApiClient&version=4.0.323
#tool nuget:?package=Soenneker.Rebrickable.OpenApiClient&version=4.0.323
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 | 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
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.1.2)
- Microsoft.Kiota.Serialization.Form (>= 2.1.2)
- Microsoft.Kiota.Serialization.Json (>= 2.1.2)
- Microsoft.Kiota.Serialization.Multipart (>= 2.1.2)
- Microsoft.Kiota.Serialization.Text (>= 2.1.2)
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 |
|---|---|---|
| 4.0.324 | 33 | 9/12/2026 |
| 4.0.323 | 53 | 9/11/2026 |
| 4.0.322 | 64 | 9/10/2026 |
| 4.0.321 | 74 | 9/9/2026 |
| 4.0.320 | 160 | 9/8/2026 |
| 4.0.319 | 213 | 9/6/2026 |
| 4.0.318 | 111 | 9/5/2026 |
| 4.0.317 | 158 | 9/4/2026 |
| 4.0.316 | 127 | 9/4/2026 |
| 4.0.315 | 205 | 9/3/2026 |
| 4.0.314 | 135 | 9/3/2026 |
| 4.0.313 | 93 | 9/3/2026 |
| 4.0.312 | 117 | 9/1/2026 |
| 4.0.311 | 148 | 8/31/2026 |
| 4.0.310 | 148 | 8/31/2026 |
| 4.0.309 | 94 | 8/30/2026 |
| 4.0.308 | 144 | 8/29/2026 |
| 4.0.307 | 161 | 8/28/2026 |
| 4.0.306 | 228 | 8/25/2026 |
| 4.0.305 | 346 | 8/20/2026 |
Automated Update