@property
    def username(self):
        if self._username is None:
            if self.has_logged_in:
                self._username = self._get_username()
            else:
                raise AuthenticationError('Not logged in.')
        return self._username
Username of the current API user
dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py/API.username