public IEnumerable <StarSystem> GetExpeditionData(string startSystem, string endSystem, int detourAmount)
        {
            // Read the website
            var result = GetRoadToRichesData(startSystem, endSystem, detourAmount);

            if (String.IsNullOrEmpty(result))
            {
                //_logger.Error("Nothing returned from data");
                return(null);
            }

            _logger.Information("Parsing results...");
            return(_parser.ParseExpeditionData(result));
        }
Exemple #2
0
        public IEnumerable <StarSystem> GetExpeditionData()
        {
            string clipboardData = GetClipboard();

            return(_parser.ParseExpeditionData(clipboardData));
        }