def _public(self, command, **params):
        """Invoke the 'command' public API with optional params."""
        params['command'] = command
        response = self.session.get(self._public_url, params=params)
        return response
Invoke the 'command' public API with optional params.