Ejemplo n.º 1
0
def ajax_lookup_weibo_keywordstring():
    from_ts = request.args.get('from_ts', '')
    to_ts = request.args.get('to_ts', '')
    weiboxnr_id = request.args.get('weiboxnr_id', '')
    result = lookup_weibo_keywordstring(float(from_ts), float(to_ts),
                                        weiboxnr_id)
    return json.dumps(result)
Ejemplo n.º 2
0
def ajax_lookup_weibo_keywordstring():
    from_ts = request.args.get('from_ts', '')
    to_ts = request.args.get('to_ts', '')
    xnr_no = request.args.get('xnr_no', '')
    result = lookup_weibo_keywordstring(int(from_ts), int(to_ts), xnr_no)
    return json.dumps(result)