@blueprint.route("/info", methods=["GET"])
@api_wrapper
@require_login
def team_info_hook():
	team = api.team.get_team()
	team_info = {
		"tid": team['tid'],
		"teamname": team['teamname'],
		"members": api.team.members(),
	}
	if "school" in team: team_info["school"] = team["school"]
	return { "success": 1, "data": team_info }
dataset/ETHPy150Open EasyCTF/easyctf-2015/api/api/routes/team.py/team_info_hook/original