doc/Storing_and_Accessing_API_Keys.R

## ----eval=FALSE----------------------------------------------------------
#  library("keyring")

## ----eval=FALSE----------------------------------------------------------
#  library(keyring)
#  
#  ## Note that Sys.getenv("USERNAME") is used to dynamically tie the API key to the current user.
#  key_set(service = "ChemSpider API key", username = Sys.getenv("USERNAME"))
#  

## ----eval=FALSE----------------------------------------------------------
#  apikey <- key_get(service = "ChemSpider API key", username = Sys.getenv("USERNAME"))
NIVANorge/chemspiderapi documentation built on Jan. 10, 2021, 10:12 a.m.