![]() |
VOOZH | about |
dotnet add package CoinGeckoAsyncApi --version 1.8.0
NuGet\Install-Package CoinGeckoAsyncApi -Version 1.8.0
<PackageReference Include="CoinGeckoAsyncApi" Version="1.8.0" />
<PackageVersion Include="CoinGeckoAsyncApi" Version="1.8.0" />Directory.Packages.props
<PackageReference Include="CoinGeckoAsyncApi" />Project file
paket add CoinGeckoAsyncApi --version 1.8.0
#r "nuget: CoinGeckoAsyncApi, 1.8.0"
#:package CoinGeckoAsyncApi@1.8.0
#addin nuget:?package=CoinGeckoAsyncApi&version=1.8.0Install as a Cake Addin
#tool nuget:?package=CoinGeckoAsyncApi&version=1.8.0Install as a Cake Tool
👁 Build status
👁 Codacy Badge
👁 Nuget version
👁 Nuget downloads
CoinGecko .Net Standard api wrapper
A .Net wrapper for the CoinGecko Api as described on API documentation , including all features the API provides using clear and readable objects.
If you think something is broken, something is missing or have any questions, please open an Issue
Available on Nuget.
pm> Install-Package CoinGeckoAsyncApi
...
using Newtonsoft.Json;
using CoinGecko.Clients;
HttpClient httpClient = new HttpClient();
JsonSerializerSettings serializerSettings = new JsonSerializerSettings();
PingClient pingClient = new PingClient(httpClient, serializerSettings);
SimpleClient simpleClient = new SimpleClient(httpClient, serializerSettings);
// Check CoinGecko API status
if ((await pingClient.GetPingAsync()).GeckoSays != string.Empty)
{
// Getting current price of tether in usd
string ids = "tether";
string vsCurrencies = "usd";
Console.WriteLine((await simpleClient.GetSimplePrice(new []{ids},new []{vsCurrencies}))["tether"]["usd"]);
}
...
Examples can be found in the Test project.
Refer to CoinGecko official API
| Ping Endpoints | Status | Testing |
|---|---|---|
| /ping | [+] | [+] |
| /simple/price | [+] | [+] |
| /simple/token_price/{id} | [+] | [+] |
| /simple/supported_vs_currencies | [+] | [+] |
| Coins Endpoints | Status | Testing |
|---|---|---|
| /coins/list | [+] | [+] |
| /coins/market | [+] | [+] |
| /coins/{id} | [+] | [+] |
| /coins/{id}/tickers | [+] | [+] |
| /coins/{id}/history | [+] | [+] |
| /coins/{id}/market_chart | [+] | [+] |
| /coins/{id}/market_chart/range | [-] | [-] |
| /coins/{id}/status_updates | [-] | [-] |
| /coins/{id}/ohlc | [+] | [+] |
| Contact Endpoints | Status | Testing |
|---|---|---|
| /coins/{id}/contract/{contract_address} | [+] | [+] |
| /coins/{id}/contract/{contract_address}/market_chart/ | [+] | [+] |
| /coins/{id}/contract/{contract_address}/market_chart/range | [+] | [+] |
| Exchanges Endpoints | Status | Testing |
|---|---|---|
| /exchanges | [+] | [+] |
| /exchanges/list | [+] | [+] |
| /exchanges/{id} | [+] | [+] |
| /exchanges/{id}/tickers | [+] | [+] |
| /exchanges/{id}/status_updates | [-] | [-] |
| /exchanges/{id}/volume_chart | [+] | [+] |
| Finance Endpoints | Status | Testing |
|---|---|---|
| /finance_platforms | [+] | [+] |
| /finance_products | [+] | [+] |
| Derivatives Endpoints | Status | Testing |
|---|---|---|
| /derivatives | [+] | [+] |
| /derivatives/exchanges | [+] | [+] |
| /derivatives/exchanges/{id} | [+] | [+] |
| /derivatives/exchanges/list | [+] | [+] |
| Status Updates Endpoints | Status | Testing |
|---|---|---|
| /status_updates | [+] | [+] |
| Events Endpoints | Status | Testing |
|---|---|---|
| /events | [+] | [+] |
| /events/countries | [+] | [+] |
| /events/types | [+] | [+] |
| Exchange Rates Endpoints | Status | Testing |
|---|---|---|
| /exchange_rates | [+] | [+] |
| Trending Endpoints | Status | Testing |
|---|---|---|
| /search/trending | [+] | [+] |
| Global Endpoints | Status | Testing |
|---|---|---|
| /global | [+] | [+] |
| /global/decentralized_finance_defi | [+] | [+] |
Donations are greatly appreciated and a motivation to keep improving.
BTC: 1Czb4Z4Xj2rmvpN8YuNMc6dr7XNFuYQF5J
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 4 NuGet packages that depend on CoinGeckoAsyncApi:
| Package | Downloads |
|---|---|
|
IkosBots
Package Description |
|
|
AElf.GraphQL
Package Description |
|
|
Contoso.24.07.22.001.Test
Package Description |
|
|
UserLibrary
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.8.0 | 10,605 | 9/5/2024 |
| 1.7.0 | 85,829 | 6/9/2022 |
| 1.6.4 | 1,417 | 6/1/2022 |
| 1.6.3 | 1,490 | 5/25/2022 |
| 1.6.2 | 1,410 | 5/24/2022 |
| 1.6.1 | 1,487 | 5/17/2022 |
| 1.6.0 | 34,722 | 4/14/2022 |
| 1.5.5 | 4,725 | 1/18/2022 |
| 1.5.4 | 1,871 | 12/21/2021 |
| 1.5.3 | 1,385 | 12/17/2021 |
| 1.5.2 | 1,455 | 12/11/2021 |
| 1.5.1 | 1,443 | 12/9/2021 |
| 1.5.0 | 5,327 | 10/21/2021 |
| 1.4.5 | 4,507 | 8/29/2021 |
| 1.4.4 | 13,163 | 7/12/2021 |
| 1.4.3 | 5,195 | 5/6/2021 |
| 1.4.2 | 2,492 | 4/17/2021 |
| 1.4.1 | 3,320 | 3/14/2021 |
| 1.3.5 | 4,596 | 11/13/2020 |
| 1.3.4 | 3,319 | 9/18/2020 |
Coin Gecko Api wrapper written in .net standard 2.0 for more information please check the official documentation from https://www.coingecko.com/api/docs/v3