Soenneker.Rebrickable.ClientUtil 11.0.607

Prefix Reserved
dotnet add package Soenneker.Rebrickable.ClientUtil --version 11.0.607
                    
NuGet\Install-Package Soenneker.Rebrickable.ClientUtil -Version 11.0.607
                    
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.607" />
                    
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.607" />
                    
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.607
                    
#r "nuget: Soenneker.Rebrickable.ClientUtil, 11.0.607"
                    
#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.607
                    
#: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.607
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Rebrickable.ClientUtil&version=11.0.607
                    
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.607 0 10/27/2026
11.0.605 32 10/26/2026
11.0.604 32 10/26/2026
11.0.603 41 10/26/2026
4.0.602 49 10/26/2026
4.0.601 49 10/25/2026
4.0.600 59 10/23/2026
4.0.599 60 10/23/2026
4.0.598 53 10/22/2026
4.0.597 74 10/21/2026
4.0.596 137 10/15/2026
4.0.595 91 10/15/2026
4.0.594 109 10/14/2026
4.0.592 102 10/14/2026
4.0.591 99 10/14/2026
4.0.590 104 10/14/2026
4.0.584 106 10/13/2026
4.0.581 116 10/12/2026
4.0.580 97 10/11/2026
4.0.579 91 10/11/2026
Loading failed

Update dependency Soenneker.Rebrickable.Client to 11.0.331 (#857)