# Interface with the Brickset API for Getting Data About LEGO Sets

## Documentation for package ‘brickset’ version 2026.0.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

brickset-package | R package to interface with the Brickset API for getting data about LEGO.
brickset | R package to interface with the Brickset API for getting data about LEGO.
checkKey | Check the Brickset API key.
checkUserHash | Check the Brickset API key.
download_reviews | Downloads a pre-built reviews data frame.
getInstructions | Download list of instructions for given set.
getKeyUsageStats | Get information about frequency of API usage for the given API key.
getReviews | Downloads reviews for a LEGO set.
getSets | Downloads LEGO data from Brickset.
getSubthemes | Returns a table of sub-themes for a given theme with number of sets and years active.
getThemes | Returns a table of themes with number of sets and years active.
getUserHash | Returns the user hash from Brickset.
getYears | Get a list of years for a given theme, with the total number of sets in each.
legosets | Lego sets from 1970 through 2024.
login | Login to the Brickset API.