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

org.knowm.xchange.oer.OER Maven / Gradle / Ivy

package org.knowm.xchange.oer;

import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.QueryParam;
import jakarta.ws.rs.core.MediaType;
import java.io.IOException;
import org.knowm.xchange.oer.dto.marketdata.OERTickers;

/**
 * @author timmolter
 */
@Path("api")
@Produces(MediaType.APPLICATION_JSON)
public interface OER {

  @GET
  @Path("latest.json")
  OERTickers getTickers(
      @QueryParam("app_id") String appId,
      @QueryParam("base") String base,
      @QueryParam("symbols") String symbols)
      throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy