docs: def search(self, q, **kw):
          """Search Gnip for given query, returning deserialized response."""
          url = '{base_url}/search/{stream}'.format(**vars(self))
  
          params = {
              'q': q,
          }
          params.update(self.params)
          params.update(kw)
  
          response = self.session.get(url, params=params)
          response.raise_for_status()
          return response.json()