Skip to content

Commit 561f105

Browse files
author
T. Ismael Verdugo
committed
fix: remove api key endpoint
1 parent e95227d commit 561f105

File tree

3 files changed

+1
-138
lines changed

3 files changed

+1
-138
lines changed

src/main/java/com/cryptomarket/sdk/models/ApiKey.java

Lines changed: 0 additions & 125 deletions
This file was deleted.

src/main/java/com/cryptomarket/sdk/rest/CryptomarketRestClient.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import com.cryptomarket.sdk.exceptions.CryptomarketSDKException;
2727
import com.cryptomarket.sdk.models.Address;
2828
import com.cryptomarket.sdk.models.AmountLock;
29-
import com.cryptomarket.sdk.models.ApiKey;
3029
import com.cryptomarket.sdk.models.Balance;
3130
import com.cryptomarket.sdk.models.Candle;
3231
import com.cryptomarket.sdk.models.Commission;
@@ -1130,9 +1129,6 @@ public List<Trade> getSpotTradesHistory(
11301129
public List<Trade> getSpotTradesHistory(ParamsBuilder paramsBuilder)
11311130
throws CryptomarketSDKException;
11321131

1133-
// USER MANAGEMENT
1134-
1135-
public List<ApiKey> getUserApiKeys() throws CryptomarketSDKException;
11361132

11371133
// WALLET MANAGEMENT
11381134

src/main/java/com/cryptomarket/sdk/rest/CryptomarketRestClientImpl.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import com.cryptomarket.sdk.exceptions.CryptomarketSDKException;
3131
import com.cryptomarket.sdk.models.Address;
3232
import com.cryptomarket.sdk.models.AmountLock;
33-
import com.cryptomarket.sdk.models.ApiKey;
3433
import com.cryptomarket.sdk.models.Balance;
3534
import com.cryptomarket.sdk.models.Candle;
3635
import com.cryptomarket.sdk.models.Commission;
@@ -743,14 +742,7 @@ public List<Trade> getSpotTradesHistory(ParamsBuilder paramsBuilder)
743742
paramsBuilder.build());
744743
return adapter.listFromJson(jsonResponse, Trade.class);
745744
}
746-
// USER MANAGEMENT
747-
748-
@Override
749-
public List<ApiKey> getUserApiKeys() throws CryptomarketSDKException {
750-
String jsonResponse = httpClient.get("user/api-keys",null);
751-
return adapter.listFromJson(jsonResponse, ApiKey.class);
752-
}
753-
745+
754746
// WALLET MANAGEMENT
755747

756748
@Override

0 commit comments

Comments
 (0)