Code Monkey home page Code Monkey logo

cryptocompare-api-client's Introduction

cryptocompare-api-client

.NET Core Codacy Badge Codacy Badge

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

Creating your local .env file

In order to be able to run some integration tests, you should create a .env file in the src folder with the following variables:

CryptoCompareApiConfiguration__ApiKey=********

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

AWS Parameters

In order to be able to run some integration tests, you should ensure that you have access to the AWS parameters starting in /CiCd. In order for the applications in this solution to run correctly on AWS, please ensure that variables starting in /[environment] are defined for all 3 environments ( Production, Staging, Development ) :

/[environment]/Trakx/CryptoCompare/ApiClient/CryptoCompareApiConfiguration/ApiKey

cryptocompare-api-client's People

Contributors

joancaron avatar monsieurleberre avatar jayarrowz avatar dependabot[bot] avatar dependabot-preview[bot] avatar stepkillah avatar dependabot-support avatar tiagofroispereira avatar aymericnoel avatar cohowap avatar emanuelgaspar avatar imgbotapp avatar codacy-badger avatar ygavrishov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.