Example #1
0
 def get(self):
     db = DetectDb()
     period = self.get_argument('period', "None")
     speeds = db.get_speed(period)
     self.write(json.dumps(speeds))
Example #2
0
 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))
Example #3
0
 def get(self):
     db = DetectDb()
     period = self.get_argument('period', "None")
     speeds = db.get_speed(period)
     self.write(json.dumps(speeds))
Example #4
0
 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))