Skip to content

Commit

Permalink
Merge pull request #97 from coinapi/SymbolDtoUpdate
Browse files Browse the repository at this point in the history
SymbolMapping removed + obsolete endpoint and method references
  • Loading branch information
kgrudzien authored Mar 2, 2021
2 parents cd8b308 + 4523dd3 commit 1fcfaf3
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Company>COINAPI LTD</Company>
<Copyright>COINAPI LTD or its affiliates</Copyright>
<Version>2.0.5</Version>
<Version>2.0.6</Version>
<UserSecretsId>17704ec2-7050-452e-99b5-0eddf76dea5d</UserSecretsId>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ public static class CoinApiEndpointUrls
public static string Symbols(string exchangeId) => $"/v1/symbols/{exchangeId}";
public static string Assests_Icons(int iconSize) => $"/v1/assets/icons/{iconSize}";
public static string Exchanges_Icons(int iconSize) => $"/v1/exchanges/icons/{iconSize}";
public static string Symbols_Map(string idExchange) => $"/v1/symbols/map/{idExchange}";
public static string ExchangeRateSpecific(string baseId, string quoteId, string time) => string.Format("/v1/exchangerate/{0}/{1}?time={2}", baseId, quoteId, time);
public static string ExchangeRateSpecific(string baseId, string quoteId) => string.Format("/v1/exchangerate/{0}/{1}", baseId, quoteId);
public static string ExchangeRate(string baseId, bool invert) => string.Format("/v1/exchangerate/{0}?invert={1}", baseId, invert);
Expand Down
7 changes: 0 additions & 7 deletions data-api/csharp-rest/CoinAPI.REST.V1/CoinApiRestClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@ public Task<List<Icon>> Metadata_list_exchanges_iconsAsync(int iconSize)
{
return GetData<List<Icon>>(CoinApiEndpointUrls.Exchanges_Icons(iconSize));
}

public Task<List<SymbolMapping>> Metadata_symbol_mappingAsync(string idExchange)
{
var url = CoinApiEndpointUrls.Symbols_Map(idExchange);
return GetData<List<SymbolMapping>>(url);
}

public Task<Exchangerate> Exchange_rates_get_specific_rateAsync(string baseId, string quoteId, DateTime time)
{
var url = CoinApiEndpointUrls.ExchangeRateSpecific(baseId, quoteId, time.ToString(DateFormat));
Expand Down
18 changes: 0 additions & 18 deletions data-api/csharp-rest/CoinAPI.REST.V1/DataModels/SymbolMapping.cs

This file was deleted.

0 comments on commit 1fcfaf3

Please sign in to comment.