get_url_domain#

API documentation for tradeexecutor.utils.url.get_url_domain Python function.

get_url_domain(url)[source]#

Redact URL so that only domain is displayed.

Some services e.g. infura use path as an API key.

Parameters:

url (str) –

Return type:

str