def __init__(self, ip, username, password, use_tls=False):
        if use_tls:
            self.base_url = 'https://' + ip
        else:
            self.base_url = 'http://' + ip
        self.username = username
        self.password = password
        self.sid = None

        self.session = Session()
dataset/ETHPy150Open DerMitch/fritzbox-smarthome/fritzhome/fritz.py/FritzBox.__init__/original