def get_overall_score(self, **config):
        """get_overall_score method will get the overall score of a company."""
        from_date, to_date = config.get("from_date_factor"), config.get("to_date")
        overall_score_url = "{}/companies/{}/history/score?from={}&to={}".format(
            self.__base_url, self.domain, from_date, to_date
        )
        scores = make_rest_call(
            url=overall_score_url,
            secret_key=self.__access_key,
        )
        json_response_entries = scores.get("entries", [])
        if not json_response_entries:
            raise NoDataError("SecurityScorecard Connector: No data available")
        rv = []

        for value in range(len(json_response_entries) - 1):
            yesterday_values = json_response_entries[value]
            today_values = json_response_entries[value + 1]
            rv.append(self.generate_overall_score(today_values, yesterday_values))
        return rv
get_overall_score method will get the overall score of a company.
Solutions/SecurityScorecard Cybersecurity Ratings/Data Connectors/SecurityScorecardRatings/SecurityScorecardRatingsSentinelConnector/scorecard.py