Revize 26ecc756
Přidáno uživatelem Alex Konig před téměř 4 roky(ů)
Server/ServerApp/DataDownload/DataDownloader.cs | ||
---|---|---|
95 | 95 |
|
96 | 96 |
DateTime now = DateTime.Now; |
97 | 97 |
WebClient webClient = new WebClient(); |
98 |
string data = webClient.DownloadString(predictionSite);
|
|
98 |
webClient.DownloadFile(predictionSite, $"data/{now.Year}{now.Month}{now.Day}.json");
|
|
99 | 99 |
|
100 |
return data;
|
|
100 |
return $"data/{now.Year}{now.Month}{now.Day}.json";
|
|
101 | 101 |
} |
102 | 102 |
|
103 | 103 |
/// <summary> |
Také k dispozici: Unified diff
re #8962 Adding reading of file to string to CsvDataLoader