View source: R/bhl_gettitlemetadata.R
bhl_gettitlemetadata | R Documentation |
Return metadata about a title. You may choose to include a list of the items (books) associated with the title.
bhl_gettitlemetadata(titleid = NA, items = FALSE, as = "list", key = NULL, ...)
titleid |
the identifier of an individual title (numeric) |
items |
(logical) TRUE of FALSE (default) to inclue items |
as |
(character) Return a list ("list"), json ("json"), xml ("xml"),
or parsed table ("table", default). Note that |
key |
Your BHL API key, either enter, or loads from your |
... |
Curl options passed on to |
## Not run: bhl_gettitlemetadata(1726, items = TRUE) bhl_gettitlemetadata(1726, as='list') bhl_gettitlemetadata(1726, as='xml') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.