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-07 16:12:44 -05:00
|
|
|
|
public class CryptoService(CoinMarketCapService coinMarketCap)
|
2025-01-06 15:17:59 -05:00
|
|
|
|
{
|
|
|
|
|
public async Task GetCryptoStatsAsync(CancellationToken cancellationToken)
|
|
|
|
|
{
|
2025-01-07 16:12:44 -05:00
|
|
|
|
var crypto = await coinMarketCap.GetCryptoStatsAsync("bitcoin", "cad", cancellationToken);
|
2025-01-06 15:17:59 -05:00
|
|
|
|
}
|
|
|
|
|
}
|