Пример #1
0
def ajax_influenced_users():
    uid = request.args.get('uid', '')
    date = request.args.get('date', '')
    mid = request.args.get('mid', '')
    style = request.args.get('style', '')
    number = request.args.get("number", 20)
    uid = str(uid)
    mid = str(mid)
    style = int(style)
    number = int(number)

    results = detail_weibo_influence(uid, mid, style, date, number)

    return json.dumps(results)
def ajax_influenced_users():
    uid = request.args.get('uid', '')
    date = request.args.get('date', '')
    mid = request.args.get('mid', '')
    style = request.args.get('style', '')
    number = request.args.get("number", 20)
    uid = str(uid)
    mid = str(mid)
    style = int(style)
    number = int(number)

    results = detail_weibo_influence(uid, mid, style, date, number)

    return json.dumps(results)
Пример #3
0
def ajax_influenced_users():
    uid = request.args.get("uid", "")
    date = request.args.get("date", "")
    mid = request.args.get("mid", "")
    style = request.args.get("style", "")
    number = request.args.get("number", 20)
    uid = str(uid)
    date = str(date).replace("/", "-")
    mid = str(mid)
    style = int(style)
    number = int(number)

    results = detail_weibo_influence(uid, mid, style, date, number)

    return json.dumps(results)