rebrickable_color_info: Get a data frame of information about a specific brick color

Description Usage Arguments Examples

View source: R/scrape_rebrickable.R

Description

Get a data frame of information about a specific brick color

Usage

1
2
rebrickable_color_info(color_id = 1, key = rebrickable_key(), ...,
  parse = T)

Arguments

color_id

a single numerical color ID

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?

Examples

1
2
3
if (exists(".rebrickable_key")) {
  rebrickable_color_info(color_id = 1)
}

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