private void buildSet()
        {
            List <Amazon.S3.Model.S3Object> res = DownloadCSVFromS3.getBucketList();

            foreach (Amazon.S3.Model.S3Object entry in res)
            {
                var dataSet = new DataSet();
                dataSet.setName  = entry.Key;
                dataSet.urlParam = $"/Details/{replaceSpaces(dataSet.setName)}";
                Console.WriteLine(dataSet.urlParam);
                set.Add(dataSet);
            }
        }
Beispiel #2
0
        private void buildSet(string name)
        {
            List <Amazon.S3.Model.S3Object> res = DownloadCSVFromS3.getBucketList();

            foreach (Amazon.S3.Model.S3Object entry in res)
            {
                if (entry.Key.Equals(getPageTitle()))
                {
                    string resFilePath = "res.json";
                    DownloadCSVFromS3.DownloadCSV(getPageTitle(), resFilePath);
                    set = ParseCSV.parseFemaleDatasetJSON(resFilePath);
                }
            }
        }