Find and return metadata about an item or items that match a specific identifier.

Description

If you know the Internet Archive identifier for an item, use this method to look up the equivalent item in BHL.

Usage

1
2
bhl_getitembyidentifier(type = NULL, value = NULL, as = "table",
  key = NULL, ...)

Arguments

type

the type of identifier (barcode or ia) (character)

value

the identifier value (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_getitembyidentifier(type='ia', value='animalkingdomarr03cuvi')
bhl_getitembyidentifier(type='ia', value='animalkingdomarr03cuvi', as='json')
bhl_getitembyidentifier(type='ia', value='animalkingdomarr03cuvi', as='xml')

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.