def __init__(self, url, api_path):
        self.url = url
        self.api_path = api_path

        uri = urlparse(self.url)
        self.hostname = uri.hostname
:param url:
dataset/ETHPy150Open plazix/python-openfire/openfire/base.py/OpenFireBase.__init__