def get_full_school_by_id(opeid): row = getData(opeid, "OPEID") return jsonify(formatFull(row))
def get_all_data(): rows = getAll() result = [] for row in rows: result.append(formatFull(row)) return jsonify(result)
def get_full_school_by_name(name): row = getData(name, "name") return jsonify(formatFull(row))