def dashboardById(did): if request.method == 'PUT': return DashboardHandler().updateDashboardById(did, request.form) else: return jsonify(Error='Method Not Allowed'), 405
def topUsers(): return DashboardHandler().topActiveUsers()
def dashboard(): if request.method == 'GET': return DashboardHandler().getDashboard() else: return jsonify(Error='Method Not Allowed'), 405
def dailyDisikes(): return DashboardHandler().dislikesPerDay()
def dailyLikes(): return DashboardHandler().likesPerDay()
def dailyReplies(): return DashboardHandler().repliesPerDay()
def dailyMessages(): return DashboardHandler().messagesPerDay()
def trendingHashtags(): return DashboardHandler().topTenHashtags()