/KuCoinCryptoCurrency

KuCoin Crypto Currency Client SDK

Primary LanguageC#Apache License 2.0Apache-2.0

KuCoinCryptoCurrency

KuCoin Crypto Currency .Net Client SDK

Develop branch
Project Badge

Master branch
Project Badge

Nuget Repository

https://www.nuget.org/packages/KuCoinCryptoCurrency/

Install Package

Install-Package KuCoinCryptoCurrency

How to use

using System;
using KuCoinCryptoCurrency.Processor;
using KuCoinCryptoCurrency.Utility;

namespace KuCoinLoadCurrencies {
    class Program {
        static void Main() {
            IHttpUtilityTool httpUtilityTool = new HttpUtilityTool();
            IKuCoinProcessor kucoinProcessor = new KuCoinProcessor(httpUtilityTool);

            var tickerResponse = kucoinProcessor.GetTickerLast24Hs();

            foreach (var ticker in tickerResponse.TickerReport.Data) {
                Console.WriteLine($"Crypt Coin: {ticker.CoinType} / Buy: {ticker.Buy} / Change Rate: {ticker.ChangeRate}");
            }

            Console.WriteLine("Processed");

            Console.ReadLine();
        }
    }
}