code: def _recursive_gh_get(href, items):
      
      response = _request('GET', href)
      response.raise_for_status()
      items.extend(response.json())
      if "link" not in response.headers:
          return
      links = link_header.parse(response.headers["link"])
      rels = {link.rel: link.href for link in links.links}
      if "next" in rels:
          _recursive_gh_get(rels["next"], items)
docs: Recursively get list of GitHub objects.
  
      See https://developer.github.com/v3/guides/traversing-with-pagination/