getkey: Function to get an API key.

Description Usage Arguments Examples

Description

Checks first to get key from your .Rprofile file for an API key with the name 'PlosApiKey'. If it is not found, the default guest key is used.

Usage

1
getkey(x = NULL)

Arguments

x

An API key, defaults to NULL.

Examples

1
2
3
4
## Not run: 
getkey()

## End(Not run)

Example output

 New to alm? Tutorial at http://ropensci.org/tutorials/alm_tutorial.html. Use suppressPackageStartupMessages() to suppress these startup messages in the future

Using default key: Please get your own API key at http://api.plos.org/
[1] "rkfDr76z75benY3pytM1"

alm documentation built on Jan. 15, 2017, 3:22 p.m.