CoinCapClient Members

The CoinCapClient type exposes the following members.

Constructors


  Name Description
Public method CoinCapClient
Initializes a new instance of the CoinCapClient class.

Using an API key is optional but can be obtained for free from https://coincap.io/api-key

Using a logger is optional but recommended. This can be supplied via dependency injection.

Methods


  Name Description
Public method ClearCache
Clears the response cache.
Public method Dispose()()()()

Properties


  Name Description
Public property Assets

Provides access to the Assets API calls.

An instance of AssetsImp.
Public property Candles

Provides access to the Candles API calls.

An instance of CandlesImp.
Public property CCRestClient
The RestSharp client instance used to make the API calls. This is exposed in case you wish to change options such as use a proxy.
Public property Exchanges

Provides access to the Exchanges API calls.

An instance of ExchangesImp.
Public property IsCacheEnabled

Gets or sets whether this instance is using response caching.

Caching is enabled by default.

Public property Markets

Provides access to the Markets API calls.

An instance of MarketsImp.
Public property Rates

Provides access to the Rates API calls.

An instance of RatesImp.