(self)
Get a all the data of the main event.
        :return:
Get a all the data of the main event.
        :return:
Get a all the data of the main event . : return :
def refresh_overview(self):
        """
            Get a all the data of the main event.
        :return:
        """
        attempts_remaining = 5
        while attempts_remaining > 0:
            try:
                self.overview = nhl_api.overview(self.current_game_id)
                if self.time_stamp != self.overview.time_stamp:
                    self.time_stamp = self.overview.time_stamp
                    self.new_data = True
                self.needs_refresh = False
                self.network_issues = False
                break
            except ValueError as error_message:
                self.network_issues = True
                debug.error("Failed to refresh the Overview. {} attempt remaining.".format(attempts_remaining))
                debug.error(error_message)
                attempts_remaining -= 1
                sleep(NETWORK_RETRY_SLEEP_TIME)
def refresh_overview ( self ) : attempts_remaining = 5 while attempts_remaining > 0 : try : self . overview = nhl_api . overview ( self . current_game_id ) if self . time_stamp != self . overview . time_stamp : self . time_stamp = self . overview . time_stamp self . new_data = True self . needs_refresh = False self . network_issues = False break except ValueError as error_message : self . network_issues = True debug . error ( "Failed to refresh the Overview. {} attempt remaining." . format ( attempts_remaining ) ) debug . error ( error_message ) attempts_remaining -= 1 sleep ( NETWORK_RETRY_SLEEP_TIME )