Constructors

Methods

  • Check if a userHash key is valid.

    Parameters

    • userHash: string

    Returns Promise<boolean>

  • Get a list of instructions for the specified set without the need to look up the set ID first.

    Parameters

    • setNumber: string

    Returns Promise<instruction[]>

  • Retrieve a list of sets, or more information about a particular one. This endpoint is limited to 100 calls a day per key

    Parameters

    Returns Promise<BricksetSet[]>

  • Get a list of years for a given theme, with the total number of sets in each.

    Parameters

    • theme: string = ""

    Returns Promise<year[]>

  • Log in as a user and retrieve a token that can be used in subsequent API calls.

    Parameters

    • username: string
    • password: string

    Returns Promise<string>

  • Add/change a user's 'loose' minifig collection. Note: due to the way this method works pass either own/want/qtyowned OR notes

    Parameters

    Returns Promise<boolean>