def get_ip_data_from_api_type(self, ip_list, watchlist_flag=False):
        """
        To get IP data from Team Cymru Scout API based on user selected API.

        Args:
            ip_list (list): A list of IPs to retrieve details from.
            watchlist_flag (bool, optional): A flag indicating whether the IPs are from a watchlist.
                                            Defaults to False.
        """
        if consts.API_TYPE.lower() == "foundation":
            self.get_ip_data_from_foundation_api(ip_list, watchlist_flag)
        else:
            self.get_ip_data_from_details_api(ip_list, watchlist_flag)

        To get IP data from Team Cymru Scout API based on user selected API.

        Args:
            ip_list (list): A list of IPs to retrieve details from.
            watchlist_flag (bool, optional): A flag indicating whether the IPs are from a watchlist.
                                            Defaults to False.
        
Solutions/Team Cymru Scout/Data Connectors/TeamCymruScout/IPDataCollector/ip_collector.py