com.kucoin.sdk.rest.interfaces.retrofit.CurrencyAPIRetrofit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kucoin-java-sdk Show documentation
Show all versions of kucoin-java-sdk Show documentation
Fixed fork of the official Kucoin SDK
The newest version!
/**
* Copyright 2019 Mek Global Limited.
*/
package com.kucoin.sdk.rest.interfaces.retrofit;
import com.kucoin.sdk.rest.response.CurrencyDetailResponse;
import com.kucoin.sdk.rest.response.CurrencyResponse;
import com.kucoin.sdk.rest.response.KucoinResponse;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import java.util.List;
/**
* Created by chenshiwei on 2019/1/15.
*/
public interface CurrencyAPIRetrofit {
@GET(value = "api/v1/currencies")
Call>> getCurrencies();
@GET(value = "api/v1/currencies/{currency}")
Call> getCurrencyDetail(@Path("currency") String currency);
}