Soenneker.Rebrickable.ClientUtil 4.0.525

Prefix Reserved
dotnet add package Soenneker.Rebrickable.ClientUtil --version 4.0.525
                    
NuGet\Install-Package Soenneker.Rebrickable.ClientUtil -Version 4.0.525
                    
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="4.0.525" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Rebrickable.ClientUtil" Version="4.0.525" />
                    
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 4.0.525
                    
#r "nuget: Soenneker.Rebrickable.ClientUtil, 4.0.525"
                    
#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@4.0.525
                    
#: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=4.0.525
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Rebrickable.ClientUtil&version=4.0.525
                    
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 net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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
4.0.525 0 9/4/2026
4.0.524 0 9/4/2026
4.0.523 0 9/4/2026
4.0.521 0 9/4/2026
4.0.520 0 9/3/2026
4.0.519 58 9/2/2026
4.0.518 77 9/1/2026
4.0.517 71 9/1/2026
4.0.516 78 8/31/2026
4.0.515 90 8/31/2026
4.0.514 82 8/31/2026
4.0.513 80 8/30/2026
4.0.512 85 8/30/2026
4.0.511 88 8/28/2026
4.0.510 129 8/26/2026
4.0.509 98 8/26/2026
4.0.508 83 8/26/2026
4.0.507 106 8/25/2026
4.0.506 92 8/25/2026
4.0.505 117 8/22/2026
Loading failed

Updated Multiple NuGet packages