labguru_set_token | R Documentation |
Set token and server as system variables. Useful when a user has a token but no login credentials.
labguru_set_token( token, server = "https://jonathan.labguru.com", set_sys = TRUE )
token |
Labguru API access token |
server |
character(1) Server URL, "https://jonathan.labguru.com" by default |
set_sys |
logical(1) Set server and token as system variables LABGURU_SERVER and LABGURU_TOKEN |
Returns the token (visibly or invisibly depending on set_sys)
# helper function to set labguru token
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.