Soenneker.Rebrickable.ClientUtil 11.0.673

Prefix Reserved
dotnet add package Soenneker.Rebrickable.ClientUtil --version 11.0.673
                    
NuGet\Install-Package Soenneker.Rebrickable.ClientUtil -Version 11.0.673
                    
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.673" />
                    
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.673" />
                    
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.673
                    
#r "nuget: Soenneker.Rebrickable.ClientUtil, 11.0.673"
                    
#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.673
                    
#: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.673
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Rebrickable.ClientUtil&version=11.0.673
                    
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.673 0 12/6/2026
11.0.672 72 12/3/2026
11.0.671 59 12/3/2026
11.0.670 67 12/3/2026
11.0.669 70 12/3/2026
11.0.668 53 12/3/2026
11.0.667 62 12/2/2026
11.0.665 67 12/2/2026
11.0.664 58 12/2/2026
11.0.663 63 12/2/2026
11.0.662 84 12/2/2026
11.0.661 87 12/2/2026
11.0.660 98 12/1/2026
11.0.659 101 12/1/2026
11.0.658 97 12/1/2026
11.0.657 101 12/1/2026
11.0.656 98 11/30/2026
11.0.655 129 11/30/2026
11.0.654 107 11/30/2026
11.0.653 116 11/28/2026
Loading failed

Update dependency Soenneker.Rebrickable.OpenApiClient to 11.0.392 (#892)