Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joancaron/cryptocompare-api
An async-based CryptoCompare API client library for .NET and .NET Core
https://github.com/joancaron/cryptocompare-api
async bitcoin cryptocompare cryptocompare-api cryptocurrencies cryptocurrency dotnet dotnet-core dotnet-standard
Last synced: 3 months ago
JSON representation
An async-based CryptoCompare API client library for .NET and .NET Core
- Host: GitHub
- URL: https://github.com/joancaron/cryptocompare-api
- Owner: joancaron
- License: apache-2.0
- Created: 2017-11-03T08:30:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T08:56:11.000Z (almost 2 years ago)
- Last Synced: 2024-06-29T05:34:22.345Z (4 months ago)
- Topics: async, bitcoin, cryptocompare, cryptocompare-api, cryptocurrencies, cryptocurrency, dotnet, dotnet-core, dotnet-standard
- Language: C#
- Homepage: https://cryptocompare.joancaron.com
- Size: 1.6 MB
- Stars: 46
- Watchers: 6
- Forks: 23
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# cryptocompare-api
[![Build status](https://dev.azure.com/joan-caron-oss/cryptocompare-api/_apis/build/status/cryptocompare-api-windows)](https://dev.azure.com/joan-caron-oss/cryptocompare-api/_build/latest?definitionId=1)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2dec058efba4445ba2af6e0e54308758)](https://www.codacy.com/app/joancaron/cryptocompare-api?utm_source=github.com&utm_medium=referral&utm_content=joancaron/cryptocompare-api&utm_campaign=badger)
[![NuGet](https://img.shields.io/nuget/v/CryptoCompare.svg)](https://www.nuget.org/packages/CryptoCompare/)![logo](https://raw.githubusercontent.com/joancaron/cryptocompare-api/master/cryptocompare_logo.png)
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 NuGetPackage manager
````
Install-Package CryptoCompare
````.NET CLI
````
dotnet add package CryptoCompare
````Paket CLI
````
paket add CryptoCompare
````## Basic usage
````csharp
// 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](https://github.com/monsieurleberre)
[💻](https://github.com/joancaron/cryptocompare-api/commits?author=monsieurleberre "Code") [⚠️](https://github.com/joancaron/cryptocompare-api/commits?author=monsieurleberre "Tests") | [
Anton](https://github.com/stepkillah)
[💻](https://github.com/joancaron/cryptocompare-api/commits?author=stepkillah "Code") [⚠️](https://github.com/joancaron/cryptocompare-api/commits?author=stepkillah "Tests") | [
cohowap](https://github.com/cohowap)
[💻](https://github.com/joancaron/cryptocompare-api/commits?author=cohowap "Code") [⚠️](https://github.com/joancaron/cryptocompare-api/commits?author=cohowap "Tests") |
| :---: | :---: | :---: |## License
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjoancaron%2Fcryptocompare-api.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjoancaron%2Fcryptocompare-api?ref=badge_large)