Exemple #1
0
def getnews(idSSheet, nameSheet):
    data = _read_0(idSSheet, nameSheet=nameSheet, addr='A1:M10000')
    r = json.dumps(list_to_dict_getnews(data))
    return r
Exemple #2
0
def getpage(idSSheet, nameSheet):
    data = _read_0(idSSheet, nameSheet=nameSheet)
    r = json.dumps(list_to_dict_getpage(data))
    return r
Exemple #3
0
def getwd(idSSheet, nameSheet):
    data = _read_0(idSSheet, nameSheet=nameSheet, addr='B1:EK4')
    r = json.dumps(list_to_dict_1rowName(data))
    return r
Exemple #4
0
def gettimetable(idSSheet, nameSheet):
    data = _read_0(idSSheet, nameSheet=nameSheet, addr='A1:BI200')
    r = json.dumps(list_to_dict_0rowName(data))
    # r = json.dumps(list_to_dict_timetable(data))
    return r
Exemple #5
0
def getdocument(idSSheet, nameSheet):
    data = _read_0(idSSheet, nameSheet=nameSheet)
    r = json.dumps(list_to_dict_docum(data))
    return r
Exemple #6
0
def getblock(idSSheet, nameSheet):
    data = _read_0(idSSheet, nameSheet=nameSheet)
    r = json.dumps(list_to_dict(data))
    return r