Expand description
Interfacing with Ocean’s web API.
Modules§
- v1
- Version 1 of Ocean’s web API.
Constants§
- DEFAULT_
URL - The default URL to which API calls are made:
https://api.oceanpkg.org/. - URL_
ENV_ KEY - The environment variable key for using an alternative API URL:
OCEAN_API_URL.
Functions§
- url
- Returns the parsed
Urlvalue forURL_ENV_VARorDEFAULT_URLif it does not exist. - url_
os_ str - Returns the OS encoded value for
URL_ENV_VARorDEFAULT_URLif it does not exist. - url_str
- Returns the UTF-8 encoded value for
URL_ENV_VARorDEFAULT_URLif it does not exist.