rebrickable_parts: Get a data frame of information about parts

Description Usage Arguments Details Examples

Description

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).

Usage

1

Arguments

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?

Details

Note that currently external IDs are not returned.

Examples

1
2
3
if (exists(".rebrickable_key")) {
  rebrickable_parts(page = 1, follow_next = F)
}

srvanderplas/LegoR documentation built on Nov. 5, 2019, 9:17 a.m.