2025-01-07 16:12:44 -05:00
|
|
|
|
|
2025-01-08 15:25:25 -05:00
|
|
|
|
using CH.CryptoStats.CoinGecko;
|
2025-01-07 16:12:44 -05:00
|
|
|
|
using CH.CryptoStats.CoinMarketCap;
|
2025-01-06 15:17:59 -05:00
|
|
|
|
|
|
|
|
|
namespace CH.CQRS.Service.CryptoStats;
|
|
|
|
|
|
2025-01-08 15:25:25 -05:00
|
|
|
|
public class CryptoService(CoinGeckoService coinGecko)
|
2025-01-06 15:17:59 -05:00
|
|
|
|
{
|
|
|
|
|
public async Task GetCryptoStatsAsync(CancellationToken cancellationToken)
|
|
|
|
|
{
|
2025-01-08 15:25:25 -05:00
|
|
|
|
var crypto = await coinGecko.GetCryptoStatsAsync("bitcoin", "cad", cancellationToken);
|
2025-01-06 15:17:59 -05:00
|
|
|
|
}
|
|
|
|
|
}
|