GET
requestsReturns URLs properly formatted for GET
requests
build_get_request(
base_url = "https://api.coingecko.com",
path,
query_parameters
)
(character): API's base URL (host). Defaults to
"https://api.coingecko.com"
.
(character or NULL
): vector, whose elements form the path of the
respective API endpoint. The order of these elements is important. For
example, if the path is api/v3/ping
, then this vector must be
path = c("api", "v3", "ping")
.
(named list or NULL
): contains parameters of the
request.
A URL that is ready to be used in a GET
request.
No validation of the base URL is performed by this function, so users are advised to ensure that the base URL is correctly formatted and encoded.