code: def get_paged_request(url):
      """Get a full list, handling APIv3's paging."""
      results = []
      while url:
          print(f"fetching {url}", file=sys.stderr)
          f = urlopen(url)
          results.extend(json.load(f))
          links = parse_link_header(f.headers)
          url = links.get("next")
      return results
  
file_path: dipy/tools/github_stats.py
imports: import json
  import re
  import sys
  from datetime import datetime, timedelta
  from subprocess import check_output
  from urllib.request import urlopen
label_desc: Use image node_id 2 for calling a global function with example usage: get_paged_request(url) and returns: results