omeka_key: Get or set the Omeka API key

Description Usage Arguments Value Examples

View source: R/omeka_key.R

Description

Pass an Omeka API key to this function to set the Omeka API key for the rest of your script. Call this function without an argument to get the currently set endpoint. If you do not set an Omeka API key, then this function returns NULL and the API will be accessed without passing along a key. You can set your API key as the OMEKA_KEY system environment variable.

Usage

1
omeka_key(key = NULL)

Arguments

key

The Omeka API key to the site that you are using.

Value

The current Omeka API key, or NULL if none is set.

Examples

1

lmullen/omekaR documentation built on May 21, 2019, 7:36 a.m.