Revert "Fixed .crypto - some extra fields which were causing deserialization issues"

This reverts commit f65ba100af.
This commit is contained in:
Kwoth
2022-06-17 14:03:30 +02:00
parent f65ba100af
commit 3744dd287c
6 changed files with 188 additions and 294 deletions

View File

@@ -138,9 +138,9 @@ public class CryptoService : INService
using var http = _httpFactory.CreateClient();
var strData = await http.GetFromJsonAsync<CryptoResponse>(
"https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?"
+ $"CMC_PRO_API_KEY=e79ec505-0913-439d-ae07-069e296a6079"
+ $"CMC_PRO_API_KEY={_creds.CoinmarketcapApiKey}"
+ "&start=1"
+ "&limit=5"
+ "&limit=5000"
+ "&convert=USD");
return JsonSerializer.Serialize(strData);