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

com.xeiam.xchange.vircurex.Vircurex Maven / Gradle / Ivy

The newest version!
package com.xeiam.xchange.vircurex;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import com.xeiam.xchange.vircurex.dto.marketdata.VircurexDepth;
import com.xeiam.xchange.vircurex.dto.marketdata.VircurexLastTrade;

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

  @GET
  @Path("orderbook.json")
  VircurexDepth getFullDepth(@QueryParam("base") String tradeableIdentifier, @QueryParam("alt") String currency);

  @GET
  @Path("get_last_trade.json")
  VircurexLastTrade getLastTrade(@QueryParam("base") String tradeableIdentifier, @QueryParam("alt") String currency);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy