All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kucoin.sdk.rest.interfaces.retrofit.CurrencyAPIRetrofit Maven / Gradle / Ivy

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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy