0.1.0 • Published 1 year ago

@brakbricks/brickset-api v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Brakbricks BricksetAPI

A typescript library for Brickset API V3

See https://brickset.com/article/52664/api-version-3-documentation

This implementation follows the API documentation, so methods of the client match those described in the documentation from brickset.

It maps date strings from the API response to Javascript Date objects.

Usage

Obtain an API Key for the Brickset API, check here

import { BricksetApiClient } from '@brakbricks/brickset-api';

const client = new BricksetApiClient('your-super-secret-api-key');

//Get a single set by set
const [set] = await client.getSets({
    setNumber: '42172-1'
});

const instructions = await client.getInstructionsBySetNumber('42172-1');

Documentation

See https://brakbricks.github.io/brickset-api/

Report bugs

See https://github.com/brakbricks/brickset-api/issues

0.1.0

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago