Skip to content

joancaron/cryptocompare-api

Repository files navigation

cryptocompare-api

Build status Codacy Badge NuGet

logo

An async-based CryptoCompare API client library for .NET and .NET Core

Supported platforms

  • .NET Core 1.0
  • .NET Framework 4.5
  • Mono 4.6
  • Xamarin.iOS 10.0
  • Xamarin.Android 7.0
  • Universal Windows Platform 10
  • Windows 8.0
  • Windows Phone 8.1

Installation

This CryptoCompare api wrapper library is available on NuGet

Package manager

Install-Package CryptoCompare

.NET CLI

dotnet add package CryptoCompare

Paket CLI

paket add CryptoCompare

Basic usage

// Using ctor
 var client = new CryptoCompareClient();
 var eth = await client.Coins.SnapshotFullAsync(7605);
 Console.WriteLine(eth.Data.General.Name);

// Using Singleton 
var btc = await CryptoCompareClient.Instance.Coins.SnapshotFullAsync(1182);
Console.WriteLine(eth.Data.General.Name);

Contributors


monsieurleberre

💻 ⚠️

Anton

💻 ⚠️

cohowap

💻 ⚠️

License

License

FOSSA Status