Exemple #1
0
 public Task<EndpointCheckResult<Exchangerate>> Exchange_rates_get_specific_rateAsync(string baseId, string quoteId)
 {
     return HandleCheck(CoinApiEndpointUrls.ExchangeRateSpecific(baseId, quoteId), _coinApi.Exchange_rates_get_specific_rateAsync(baseId, quoteId));
 }
Exemple #2
0
 public Task<EndpointCheckResult<Exchangerate>> Exchange_rates_get_specific_rateAsync(string baseId, string quoteId, DateTime time)
 {
     return HandleCheck(CoinApiEndpointUrls.ExchangeRateSpecific(baseId, quoteId, time.ToString(DateFormat)), _coinApi.Exchange_rates_get_specific_rateAsync(baseId, quoteId, time));
 }
        public Task <Exchangerate> Exchange_rates_get_specific_rateAsync(string baseId, string quoteId)
        {
            var url = CoinApiEndpointUrls.ExchangeRateSpecific(baseId, quoteId);

            return(GetData <Exchangerate>(url));
        }