get_api_url {consibiocloudclient} | R Documentation |
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.
get_api_url(path = NULL)
path |
A character string representing the API URL. |
A character string representing the API URL.
## Not run:
get_api_url("/users/me")
## End(Not run)