def subopinion(): topic = request.args.get('topic','') start_ts = long(request.args.get('start_ts','1469028540')) end_ts = long(request.args.get('end_ts','1470842940')) results = get_subopinion(topic,start_ts,end_ts) return json.dumps(results)
def subopinion(): topic = request.args.get('topic', '') start_ts = long(request.args.get('start_ts', '1469028540')) end_ts = long(request.args.get('end_ts', '1470842940')) results = get_subopinion(topic, start_ts, end_ts) return json.dumps(results)
def subopinion(): topic = request.args.get('topic', '') results = get_subopinion(topic) return json.dumps(results)