code: def _parse(res, params, n, api, **kwds):
      
      cursor = "cursor" in params
      if not cursor:
          start = params["start"]
      if n == 0:
          return ""
      _json = res.get('search-results', {}).get('entry', [])
      # Download the remaining information in chunks
      while n > 0:
          n -= params["count"]
          if cursor:
              pointer = res['search-results']['cursor'].get('@next')
              params.update({'cursor': pointer})
          else:
              start += params["count"]
              params.update({'start': start})
          res = download(url=URL[api], params=params, accept="json", **kwds).json()
          _json.extend(res.get('search-results', {}).get('entry', []))
      return _json
docs: Auxiliary function to download results and parse json.