def get_base_url(self):
        """
        >>> c = Cube('cube.mydomain.com')
        >>> print(c.get_base_url())
        http://cube.mydomain.com:1081/1.0
        """
        return "http://{hostname}:{port}/{api}".format(
                hostname=self.hostname,
                port=self.port,
                api=self.api_version)