def get_ip_data_into_sentinel(self):
        """To retrieve IP data from input/watchlist, fetch details from Team Cymru Scout and post it to Sentinel."""
        __method_name = inspect.currentframe().f_code.co_name
        try:
            applogger.debug(
                "{}(method={}) Getting IP values from input and fetch data from Team Cymru Scout.".format(
                    self.logs_starts_with, __method_name
                )
            )
            self.input_ip_values = self.utility_obj.get_data_from_input(indicator_type="ip")
            if len(self.input_ip_values) > 0:
                input_ip_values_list = list(self.input_ip_values)
                self.get_ip_data_from_api_type(input_ip_values_list)
            applogger.debug(
                "{}(method={}) Getting IP values from watchlist and fetch data from Team Cymru Scout.".format(
                    self.logs_starts_with, __method_name
                )
            )
            self.watchlist_ip_values = self.utility_obj.get_data_from_watchlists(indicator_type="ip")
            if len(self.watchlist_ip_values) > 0:
                self.get_ip_data_from_api_type(self.watchlist_ip_values, watchlist_flag=True)
        except Exception as err:
            applogger.error(self.error_logs.format(self.logs_starts_with, __method_name, err))
            raise TeamCymruScoutException()
To retrieve IP data from input/watchlist, fetch details from Team Cymru Scout and post it to Sentinel.
Solutions/Team Cymru Scout/Data Connectors/TeamCymruScout/IPDataCollector/ip_collector.py