code: def load_permission_mappings(apilevel):
      
      root = os.path.dirname(os.path.realpath(__file__))
      permissions_file = os.path.join(root, "api_permission_mappings", "permissions_{}.json".format(apilevel))
  
      if not os.path.isfile(permissions_file):
          return {}
  
      with open(permissions_file, "r") as fp:
          return json.load(fp)
docs: Load the API/Permission mapping for the requested API level.
      If the requetsed level was not found, None is returned.
  
      :param apilevel: integer value of the API level, i.e. 24 for Android 7.0
      :return: a dictionary of {MethodSignature: [List of Permissions]}