package org.knowm.xchange.oer; import java.io.IOException; 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 org.knowm.xchange.oer.dto.marketdata.OERTickers; /** * @author timmolter */ @Path("api") @Produces(MediaType.APPLICATION_JSON) public interface OER { @GET @Path("latest.json") public OERTickers getTickers(@QueryParam("app_id") String appId) throws IOException; }