Example #1
0
        public static void GasExcelToJson()
        {
            var d = new Downloader();
            var x = d.GetGasFutures();

            foreach (var item in x)
            {
                Commons.SaveFileAsJson(GetAppDataServerPath() + "/Gas/" + item.Name + ".json", item);
            }
        }
Example #2
0
 public static void GasSpotExcelToJson()
 {
     var d = new Downloader();
     var x = d.GetGasSpot();
     Commons.SaveFileAsJson(GetAppDataServerPath() + "/Gas/" + x.Name + ".json", x);
 }