Skip to content

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

License

Notifications You must be signed in to change notification settings

cohowap/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

Dev packages

Unstable NuGet packages that track the develop branch of this repository are available at https://www.myget.org/F/ci-joancaron/api/v3/index.json

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);

TODO: Api Endpoints


About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.1%
  • PowerShell 0.9%