code: def get_json(url):
      try:
          request = Request(url)
          if GITHUB_OAUTH_KEY:
              request.add_header(
                  "Authorization", "token %s" % GITHUB_OAUTH_KEY
              )
          return json.load(urlopen(request))
      except HTTPError as e:
          if (
              "X-RateLimit-Remaining" in e.headers
              and e.headers["X-RateLimit-Remaining"] == "0"
          ):
              print(
                  "Exceeded the GitHub API rate limit; see the instructions in "
                  + "dev/merge_spark_pr.py to configure an OAuth token for making authenticated "
                  + "GitHub requests."
              )
          elif e.code == 401:
              print(
                  "GITHUB_OAUTH_KEY is invalid or expired. Please regenerate a new one with "
                  + "at least the 'public_repo' scope on https://github.com/settings/tokens and "
                  + "update your local settings before you try again."
              )
          else:
              print("Unable to fetch URL, exiting: %s" % url)
          sys.exit(-1)
  
imports: import json
  import os
  import re
  import subprocess
  import sys
  import traceback
  from urllib.request import urlopen
  from urllib.request import Request
  from urllib.error import HTTPError
label_desc: Use image node_id 1 for calling a global function with example usage: get_json(url) and returns: json