com.xeiam.xchange.mexbt.MeXBT Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-mexbt Show documentation
Show all versions of xchange-mexbt Show documentation
XChange implementation for the Mexican Bitcoin Exchange.
The newest version!
package com.xeiam.xchange.mexbt;
import java.io.IOException;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import com.xeiam.xchange.mexbt.dto.marketdata.MeXBTOrderBook;
import com.xeiam.xchange.mexbt.dto.marketdata.MeXBTTicker;
import com.xeiam.xchange.mexbt.dto.marketdata.MeXBTTrade;
@Path("/")
@Produces(MediaType.APPLICATION_JSON)
public interface MeXBT {
@GET
@Path("order-book/{currencyPair}")
MeXBTOrderBook getOrderBook(@PathParam("currencyPair") String currencyPair) throws IOException;
@GET
@Path("trades/{currencyPair}")
MeXBTTrade[] getTrades(@PathParam("currencyPair") String currencyPair, @QueryParam("since") Long since) throws IOException;
@GET
@Path("ticker/{currencyPair}")
MeXBTTicker getTicker(@PathParam("currencyPair") String currencyPair) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy