Description Usage Arguments Details Examples
The parts API endpoint takes parameters page, page_size, part_num, part_nums, part_cat_id, color_id, bricklink_id, brickowl_id, legoid, ldraw_id, ordering, and search (a search term).
1 | rebrickable_parts(key = rebrickable_key(), ..., parse = T)
|
key |
API key (pulled from environment if saved via rebrickable_save_credentials) |
... |
other arguments (page, page_size, ordering) |
parse |
Return results as a formatted tbl without the response information? |
Note that currently external IDs are not returned.
1 2 3 | if (exists(".rebrickable_key")) {
rebrickable_parts(page = 1, follow_next = F)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.