Soenneker.Rebrickable.Colors
11.0.402
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Rebrickable.Colors --version 11.0.402
NuGet\Install-Package Soenneker.Rebrickable.Colors -Version 11.0.402
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.402" />
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.402" />
<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.402
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Rebrickable.Colors, 11.0.402"
#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.402
#: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.402
#tool nuget:?package=Soenneker.Rebrickable.Colors&version=11.0.402
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.638)
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.414 | 63 | 11/23/2026 |
| 11.0.413 | 88 | 11/22/2026 |
| 11.0.412 | 93 | 11/21/2026 |
| 11.0.411 | 99 | 11/20/2026 |
| 11.0.410 | 100 | 11/19/2026 |
| 11.0.409 | 92 | 11/19/2026 |
| 11.0.408 | 86 | 11/19/2026 |
| 11.0.405 | 92 | 11/18/2026 |
| 11.0.404 | 100 | 11/17/2026 |
| 11.0.403 | 93 | 11/17/2026 |
| 11.0.402 | 93 | 11/16/2026 |
| 11.0.401 | 104 | 11/15/2026 |
| 11.0.400 | 102 | 11/15/2026 |
| 11.0.399 | 109 | 11/14/2026 |
| 11.0.398 | 96 | 11/12/2026 |
| 11.0.397 | 100 | 11/11/2026 |
| 11.0.396 | 96 | 11/11/2026 |
| 11.0.395 | 105 | 11/11/2026 |
| 11.0.394 | 101 | 11/11/2026 |
| 11.0.393 | 154 | 11/5/2026 |
Loading failed
Updated Multiple NuGet packages