connect to the QuartzBio EDP API and return the connection
connect.Rd
connect to the QuartzBio EDP API and return the connection
Usage
connect(
secret = get_env("EDP_API_SECRET", get_env("SOLVEBIO_ACCESS_TOKEN",
get_env("SOLVEBIO_API_KEY"))),
host = get_env("EDP_API_HOST", get_env("SOLVEBIO_API_HOST", EDP_DEFAULT_API_HOST)),
check = TRUE
)
Arguments
- secret
a QuartzBio EDP API key or token as a string. Defaults to the
EDP_API_SECRET
environment variable if set, otherwise to the legacySOLVEBIO_ACCESS_TOKEN
var, then to to theSOLVEBIO_API_KEY
var.- host
the QuartzBio EDP API host as a string. Defaults to the
EDP_API_HOST
environment variable if set, otherwise to the legacySOLVEBIO_API_HOST
var.- check
whether to check the connection, mostly for debugging purposes