Soenneker.Rebrickable.ClientUtil 11.0.608

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Rebrickable.ClientUtil --version 11.0.608
                    
NuGet\Install-Package Soenneker.Rebrickable.ClientUtil -Version 11.0.608
                    
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.ClientUtil" Version="11.0.608" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Rebrickable.ClientUtil" Version="11.0.608" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Rebrickable.ClientUtil" />
                    
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.ClientUtil --version 11.0.608
                    
#r "nuget: Soenneker.Rebrickable.ClientUtil, 11.0.608"
                    
#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.ClientUtil@11.0.608
                    
#: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.ClientUtil&version=11.0.608
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Rebrickable.ClientUtil&version=11.0.608
                    
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.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 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.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
11.0.612 42 10/29/2026
11.0.611 91 10/27/2026
11.0.610 83 10/27/2026
11.0.609 92 10/27/2026
11.0.608 79 10/27/2026
11.0.607 84 10/27/2026
11.0.605 93 10/26/2026
11.0.604 84 10/26/2026
11.0.603 93 10/26/2026
4.0.602 98 10/26/2026
4.0.601 93 10/25/2026
4.0.600 101 10/23/2026
4.0.599 102 10/23/2026
4.0.598 95 10/22/2026
4.0.597 95 10/21/2026
4.0.596 155 10/15/2026
4.0.595 92 10/15/2026
4.0.594 114 10/14/2026
4.0.592 107 10/14/2026
4.0.591 102 10/14/2026
Loading failed

Update dependency Soenneker.Rebrickable.OpenApiClient to 11.0.359 (#858)