bhl_getitemparts: Return a list of an item's parts.

Description

Return a list of an item's parts.

Usage

1
bhl_getitemparts(itemid, as = "table", key = NULL, ...)

Arguments

itemid

the item id (character)

as

(character) Return a list ("list"), json ("json"), xml ("xml"), or parsed table ("table", default). Note that as="table" can give different data format back depending on the function - for example, sometimes a data.frame and sometimes a character vector.

key

Your BHL API key, either enter, or loads from your .Renviron as BHL_KEY or from .Rprofile as bhl_key.

...

Curl options passed on to GET

Examples

1
2
3
4
5
6
## Not run: 
bhl_getitemparts(35600)
bhl_getitemparts(35600, 'json')
bhl_getitemparts(35600, 'xml')

## End(Not run)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.