def get_gw_info():
    manager_id = 1
    temp_team_data_parser = TeamDataParser(manager_id)

    current_event = temp_team_data_parser.get_current_event()
    gw_name = temp_team_data_parser.get_gw_name(current_event)
    is_dgw = current_event in temp_team_data_parser.DGW

    gw_info = [current_event, gw_name, is_dgw]
    return gw_info
Exemple #2
0
    def __init__(self, team_id):
        self.__id = team_id

        temp_team_data_parser = TeamDataParser(self.__id)
        self.__current_event = temp_team_data_parser.get_current_event()
        self.__manager_name = temp_team_data_parser.get_manager_name()

        self.__managers = self.__init_managers()

        self.__output = []