get_api_url {consibiocloudclient} | R Documentation |
Get API URL from environment variable
Description
This function retrieves the API URL from the environment variable named "CONSIBIO_API_HOST", if it is set. If the environment variable is not set, it set and returns a default URL. Optionally, it can append a path to the URL.
Usage
get_api_url(path = NULL)
Arguments
path |
A character string representing the API URL. |
Value
A character string representing the API URL.
Examples
## Not run:
get_api_url("/users/me")
## End(Not run)
[Package consibiocloudclient version 1.0.0 Index]