13 lines
332 B
Python
13 lines
332 B
Python
|
from flask import Blueprint, jsonify
|
|||
|
|
|||
|
group_stat_api = Blueprint('group_stat_api', __name__)
|
|||
|
|
|||
|
|
|||
|
@group_stat_api.route("/top3_users",methods=["POST"])
|
|||
|
def top_users():
|
|||
|
# TODO: database
|
|||
|
return jsonify({
|
|||
|
"members": ["Mr.D", "𝙲𝚊𝚝𝚒𝚘𝚗", "Тёма","Others"],
|
|||
|
"counts":[4026,3024,2024,4096]
|
|||
|
})
|