def logon(self, password='admin'):
        """
        Parameters
        ----------
        password : str
            default 'admin'

        Returns
        -------
        dict
        """
        r = self._basic_post(url='logon', data=password)
        return r.json()
def logon ( self , password = 'admin' ) : r = self . _basic_post ( url = 'logon' , data = password ) return r . json ( )
Parameters
        ----------
        password : str
            default 'admin'

        Returns
        -------
        dict