Skip to main content

A wrapper for Brickset written in Python.

Project description


Brickfront is a basic interface for working through Brickset’s API. It should be pretty simple to use, though I do have the code reference if there’s anyhing too difficult.


pip install brickfront

Getting Started

There’s quite basic usage. For most things you don’t need an API key, but for others you may need to get one.

First you need to make a Client object.

>>> import brickfront
>>> client = brickfront.Client(API_KEY)

From there, you can make requests through your client to be able to get different sets.

>>> setList = client.getSets(query='star wars')
>>> len(setList)
>>> build = setList[18]
"Jabba's Palace"
>>> build.setID
>>> build.pieces
>>> build.priceUK

Most code is fully internally documented, so it will autofill and properly interface with Python’s help function.

API Reference

Click here

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for brickfront, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size brickfront-0.0.5-py3-none-any.whl (11.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size brickfront-0.0.5.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page