Soenneker.Rebrickable.Colors
11.0.398
Prefix Reserved
dotnet add package Soenneker.Rebrickable.Colors --version 11.0.398
NuGet\Install-Package Soenneker.Rebrickable.Colors -Version 11.0.398
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.Colors" Version="11.0.398" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Rebrickable.Colors" Version="11.0.398" />
<PackageReference Include="Soenneker.Rebrickable.Colors" />
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.Colors --version 11.0.398
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Rebrickable.Colors, 11.0.398"
#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.Colors@11.0.398
#: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.Colors&version=11.0.398
#tool nuget:?package=Soenneker.Rebrickable.Colors&version=11.0.398
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Rebrickable.Colors
Retrieves Rebrickable's LEGO color-list response through the shared authenticated API client.
Installation
dotnet add package Soenneker.Rebrickable.Colors
Configuration
{
"Rebrickable": {
"ApiKey": "your-api-key"
}
}
Usage
using Soenneker.Rebrickable.Colors.Abstract;
using Soenneker.Rebrickable.Colors.Registrars;
services.AddRebrickableColorsUtilAsSingleton();
public sealed class ColorImporter
{
private readonly IRebrickableColorsUtil _colors;
public ColorImporter(IRebrickableColorsUtil colors)
{
_colors = colors;
}
public async Task Import(CancellationToken cancellationToken)
{
await using Stream? response = await _colors.GetAll(cancellationToken);
if (response is null)
return;
// Deserialize or copy the JSON response here.
}
}
GetAll returns the raw response stream and the caller owns that stream. Despite the method name, Rebrickable's list endpoint is paginated; this method retrieves the first response page and does not follow its next link automatically.
| Product | Versions 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.
-
net11.0
- Soenneker.Rebrickable.ClientUtil (>= 11.0.633)
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.398 | 47 | 11/12/2026 |
| 11.0.397 | 49 | 11/11/2026 |
| 11.0.396 | 42 | 11/11/2026 |
| 11.0.395 | 57 | 11/11/2026 |
| 11.0.394 | 51 | 11/11/2026 |
| 11.0.393 | 144 | 11/5/2026 |
| 11.0.392 | 109 | 11/4/2026 |
| 11.0.391 | 95 | 11/3/2026 |
| 11.0.390 | 91 | 11/3/2026 |
| 11.0.389 | 88 | 11/3/2026 |
| 11.0.388 | 86 | 11/3/2026 |
| 11.0.387 | 96 | 11/2/2026 |
| 11.0.386 | 95 | 11/2/2026 |
| 11.0.385 | 92 | 11/2/2026 |
| 11.0.384 | 106 | 11/1/2026 |
| 11.0.383 | 110 | 11/1/2026 |
| 11.0.382 | 95 | 10/31/2026 |
| 11.0.381 | 102 | 10/31/2026 |
| 11.0.380 | 97 | 10/29/2026 |
| 11.0.379 | 102 | 10/27/2026 |
Loading failed
Updated Soenneker.Rebrickable.ClientUtil to 11.0.633