Beispiel #1
0
def ajax_activeness_trend():
    uid = request.args.get('uid', '')
    uid = str(uid)
    #results = get_activeness_trend(uid)
    results = new_get_activeness_trend(uid)
    if not results:
        results = {}
    return json.dumps(results)
def ajax_activeness_trend():
    uid = request.args.get('uid', '')
    uid = str(uid)
    #results = get_activeness_trend(uid)
    results = new_get_activeness_trend(uid)
    if not results:
        results = {}
    return json.dumps(results)
def ajax_activeness_trend():
    uid = request.args.get('uid', '')
    time_segment = request.args.get('time_segment', '30')
    uid = str(uid)
    time_segment = int(time_segment)
    #results = get_activeness_trend(uid)
    results = new_get_activeness_trend(uid, time_segment)
    if not results:
        results = {}
    return json.dumps(results)
Beispiel #4
0
def ajax_activeness_trend():
    uid = request.args.get('uid', '')
    time_segment = request.args.get('time_segment', '30')
    uid = str(uid)
    time_segment = int(time_segment)
    #results = get_activeness_trend(uid)
    results = new_get_activeness_trend(uid, time_segment)
    if not results:
        results = {}
    return json.dumps(results)