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

org.knowm.xchange.bitcoinaverage.BitcoinAverage Maven / Gradle / Ivy

There is a newer version: 5.2.1
Show newest version
package org.knowm.xchange.bitcoinaverage;

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.core.MediaType;
import org.knowm.xchange.bitcoinaverage.dto.marketdata.BitcoinAverageTicker;
import org.knowm.xchange.bitcoinaverage.dto.marketdata.BitcoinAverageTickers;

/** @author veken0m */
@Path("/")
@Produces(MediaType.APPLICATION_JSON)
public interface BitcoinAverage {

  @GET
  @Path("indices/global/ticker/{symbol}")
  BitcoinAverageTicker getTicker(@PathParam("symbol") String symbol) throws IOException;

  @GET
  @Path("indices/global/ticker/short?crypto={crypto}")
  BitcoinAverageTickers getShortTickers(@PathParam("crypto") String crypto) throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy