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