Soenneker.Rebrickable.ClientUtil
4.0.525
Prefix Reserved
dotnet add package Soenneker.Rebrickable.ClientUtil --version 4.0.525
NuGet\Install-Package Soenneker.Rebrickable.ClientUtil -Version 4.0.525
<PackageReference Include="Soenneker.Rebrickable.ClientUtil" Version="4.0.525" />
<PackageVersion Include="Soenneker.Rebrickable.ClientUtil" Version="4.0.525" />
<PackageReference Include="Soenneker.Rebrickable.ClientUtil" />
paket add Soenneker.Rebrickable.ClientUtil --version 4.0.525
#r "nuget: Soenneker.Rebrickable.ClientUtil, 4.0.525"
#:package Soenneker.Rebrickable.ClientUtil@4.0.525
#addin nuget:?package=Soenneker.Rebrickable.ClientUtil&version=4.0.525
#tool nuget:?package=Soenneker.Rebrickable.ClientUtil&version=4.0.525
Soenneker.Rebrickable.ClientUtil
Provides a lazily initialized Rebrickable client for LEGO sets, parts, colors, minifigures, elements, themes, and user collections.
Installation
dotnet add package Soenneker.Rebrickable.ClientUtil
Configuration
{
"Rebrickable": {
"ApiKey": "your-api-key"
}
}
Usage
using Soenneker.Rebrickable.ClientUtil.Abstract;
using Soenneker.Rebrickable.ClientUtil.Registrars;
services.AddRebrickableClientUtilAsSingleton();
public sealed class RebrickableColorService
{
private readonly IRebrickableClientUtil _rebrickable;
public RebrickableColorService(IRebrickableClientUtil rebrickable)
{
_rebrickable = rebrickable;
}
public async Task GetColors(CancellationToken cancellationToken)
{
var client = await _rebrickable.Get(cancellationToken);
await using Stream colors = await client.Api.V3.Lego.Colors.GetAsync(
cancellationToken: cancellationToken);
}
}
The underlying provider sends Authorization: key <api-key> on every request. Rebrickable list endpoints are paginated; use their next response value or the page and page_size query parameters rather than assuming the first response is complete.
Use AddRebrickableClientUtilAsScoped() when each scope should have its own lazily initialized API client. Both registrations reuse the singleton authenticated HTTP client provider.
| 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
- Soenneker.Rebrickable.Client (>= 4.0.272)
- Soenneker.Rebrickable.OpenApiClient (>= 4.0.315)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Rebrickable.ClientUtil:
| Package | Downloads |
|---|---|
|
Soenneker.Rebrickable.Colors
Retrieves Rebrickable's paginated LEGO color-list response. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.525 | 0 | 9/4/2026 |
| 4.0.524 | 0 | 9/4/2026 |
| 4.0.523 | 0 | 9/4/2026 |
| 4.0.521 | 0 | 9/4/2026 |
| 4.0.520 | 0 | 9/3/2026 |
| 4.0.519 | 58 | 9/2/2026 |
| 4.0.518 | 77 | 9/1/2026 |
| 4.0.517 | 71 | 9/1/2026 |
| 4.0.516 | 78 | 8/31/2026 |
| 4.0.515 | 90 | 8/31/2026 |
| 4.0.514 | 82 | 8/31/2026 |
| 4.0.513 | 80 | 8/30/2026 |
| 4.0.512 | 85 | 8/30/2026 |
| 4.0.511 | 88 | 8/28/2026 |
| 4.0.510 | 129 | 8/26/2026 |
| 4.0.509 | 98 | 8/26/2026 |
| 4.0.508 | 83 | 8/26/2026 |
| 4.0.507 | 106 | 8/25/2026 |
| 4.0.506 | 92 | 8/25/2026 |
| 4.0.505 | 117 | 8/22/2026 |
Updated Multiple NuGet packages