endpoints
This module contains functions for generating API endpoints urls.
GENERIC_API_ENDPOINT_SUBPATH
url_with_path
Return the combined baseURL and endpoint path. Cached for a marginal performance boost.
Parameters:
-
path(Rating_API_URL_Literals) –The API action path.
-
base_url(str) –The internet location of the API. Defaults to RATING_API_BASE_URL.
Raises:
-
ValueError–Raised if URL seems to be invalid.
Returns:
-
str(str) –The combined baseURL and endpoint path.