code: def get_apis_from_processed_stats(self):
      cand_files = glob.glob(
          f"{self.path}/mm_eval*pro*st*"
      )  # eval stats
      if len(cand_files) == 0:
          cand_files = glob.glob(
              f"{self.path}/*pro*st*"
          )  # legacy before nucleus added
      if len(cand_files) == 0:
          print("NO PROCESSED STATS FILE FOUND!")
          return {}
  
      with open(cand_files[0]) as f:
          lines = [line.strip() for line in f.readlines()]
          for i in range(len(lines)):
              if "DELTAS" in lines[i]:
                  want = lines[i + 1 :]
                  break
  
      result = {}
      for line in want:
          key, value = line.strip().split('", [')
          for call in API_CALL_NAMES:
              if call in key:
                  if call not in result:
                      result[call] = {}
                  result[call][key] = value
      return result
  
file_path: ParlAI/projects/tod_simulator/scripts/get_api_data.py
imports: from parlai.core.params import ParlaiParser
  from parlai.core.script import ParlaiScript
  import glob
  import json
label_desc: Use image node_id 3 for calling the GetQuickEvalStatsDirScript obj's underlying member method code with example usage: obj.get_apis_from_processed_stats() and returns: result, dict