def get(self): db = DetectDb() period = self.get_argument('period', "None") speeds = db.get_speed(period) self.write(json.dumps(speeds))
def get(self): start = self.get_argument('start', "None") end = self.get_argument('end', "None") detect = DetectDb() raw_data = detect.manage_increase(start, end) self.write(json.dumps(raw_data, default=json_serial))
def get(self): results = DetectDb().get_detecting_tld() self.render(PATH + 'detect_efficiency.html', results=results)
def get(self): start = self.get_argument('start', "None") end = self.get_argument('end', "None") detect = DetectDb() raw_data = detect.manage_increase(start,end) self.write(json.dumps(raw_data,default=json_serial))