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

org.knowm.xchange.bithumb.Bithumb Maven / Gradle / Ivy

package org.knowm.xchange.bithumb;

import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.PathParam;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;
import java.io.IOException;
import java.util.List;
import org.knowm.xchange.bithumb.dto.BithumbResponse;
import org.knowm.xchange.bithumb.dto.marketdata.BithumbOrderbook;
import org.knowm.xchange.bithumb.dto.marketdata.BithumbOrderbookAll;
import org.knowm.xchange.bithumb.dto.marketdata.BithumbTicker;
import org.knowm.xchange.bithumb.dto.marketdata.BithumbTickersReturn;
import org.knowm.xchange.bithumb.dto.marketdata.BithumbTransactionHistory;

@Path("public")
@Produces(MediaType.APPLICATION_JSON)
public interface Bithumb {

  @GET
  @Path("ticker/ALL")
  BithumbResponse tickerAll() throws IOException, BithumbException;

  @GET
  @Path("ticker/{currency}")
  BithumbResponse ticker(@PathParam("currency") String currency)
      throws IOException, BithumbException;

  @GET
  @Path("orderbook/ALL")
  BithumbResponse orderbookAll() throws IOException, BithumbException;

  @GET
  @Path("orderbook/{currency}")
  BithumbResponse orderbook(@PathParam("currency") String currency)
      throws IOException, BithumbException;

  @GET
  @Path("transaction_history/{currency}")
  BithumbResponse> transactionHistory(
      @PathParam("currency") String currency) throws IOException, BithumbException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy