Skip to content

Async CryptoCompare API client library for .NET and .NET Core

Notifications You must be signed in to change notification settings

tosunthex/CryptoCompare-Api

Repository files navigation

CryptoCompare-Api Build status Codacy Badge NuGetNuGet

.Net and .Net Core async Crypto Compare client for newest Min-API

Installation

This Crypto Compare api wrapper library is available on NuGet

Basic Usage

// Using ctor
 var client = new CryptoCompareClient();
 var response = await client..OtherClient.GetCoinList();
 

// Using Singleton 
var btcId = 1182;
var btc = await CryptoCompareClient.Instance.OtherClient.GetSocialStat(btcId);

Package manager

Install-Package CryptoCompareAsyncApi

.NET CLI

dotnet add package CryptoCompareAsyncApi

Paket CLI

paket add CryptoCompareAsyncApi

Target Frameworks and Dependencies

.NETFramework 4.5

Microsoft.AspNet.WebApi.SelfHost (>= 5.2.2)
Newtonsoft.Json (>= 11.0.2)

.NETFramework 4.6.1

Microsoft.AspNet.WebApi.SelfHost (>= 5.2.2)
Newtonsoft.Json (>= 11.0.2)

.NETStandard 1.3

NETStandard.Library (>= 1.6.1)
Newtonsoft.Json (>= 11.0.2)

.NETStandard 1.5

NETStandard.Library (>= 1.6.1)
Newtonsoft.Json (>= 11.0.2)

.NETStandard 2.0

Newtonsoft.Json (>= 11.0.2)