def ajax_all_influenced_users():
    uid = request.args.get('uid', '')
    date = request.args.get('date', '')
    style = request.args.get("style", 0)
    uid = str(uid)
    date = str(date).replace('/', '-')
    style = int(style)

    results = statistics_influence_people(uid, date, style)

    return json.dumps(results)
Beispiel #2
0
def ajax_all_influenced_users():
    uid = request.args.get('uid', '')
    date = request.args.get('date', '')
    style = request.args.get("style", 0)
    uid = str(uid)
    date = str(date).replace('/', '-')
    style = int(style)

    results = statistics_influence_people(uid, date, style)

    return json.dumps(results)
Beispiel #3
0
def ajax_all_influenced_users():
    uid = request.args.get("uid", "")
    date = request.args.get("date", "")
    style = request.args.get("style", 0)
    uid = str(uid)
    date = str(date).replace("/", "-")
    style = int(style)

    results = statistics_influence_people(uid, date, style)

    return json.dumps(results)
def ajax_all_influenced_users():
    uid = request.args.get('uid', '')
    date = request.args.get('date', '')
    style = request.args.get("style", 0)
    sensitive = request.args.get("sensitive", 0)
    uid = str(uid)
    style = int(style)
    sensitive = int(sensitive)
    print date

    results = statistics_influence_people(uid, date, style, sensitive)

    return json.dumps(results)
Beispiel #5
0
def ajax_all_influenced_users():
    uid = request.args.get('uid', '')
    date = request.args.get('date', '')
    style = request.args.get("style", 0)
    sensitive = request.args.get("sensitive", 0)
    uid = str(uid)
    style = int(style)
    sensitive = int(sensitive)
    print date

    results = statistics_influence_people(uid, date, style, sensitive)

    return json.dumps(results)