public static void DownloadCoinlist(bool overwrite = false) { WriteSample(() => { CryptoCompareServices client = new CryptoCompareServices(baseUrl); return(client.CoinlistAsync(null, null).Result as JToken); }, "CoinList", overwrite); }
public static void ShowCoins() { ICryptoCompareServices services = new CryptoCompareServices(new CryptoCompareConfig()); CoinList coinList = services.CoinlistAsync(null, null).Result; Debug.WriteLine(coinList); foreach (KeyValuePair <string, CoinData> keyValuePair in coinList.Data) { Debug.WriteLine(keyValuePair.Key + " : " + keyValuePair.Value.FullName); } }