Interface CoinMarketCap
@Path("/v2")
@Produces("application/json")
public interface CoinMarketCap
- Author:
- allenday https://api.coinmarketcap.com/v2/ticker/
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTicker
(CoinMarketCap.Pair pair) getTickers
(int start, int limit, String structure) getTickers
(int start, int limit, String convert, String structure) getTickers
(int limit, String structure) getTickers
(int limit, String convert, String structure) getTickers
(String structure)
-
Method Details
-
getTickers
@GET @Path("ticker") CoinMarketCapArrayData<CoinMarketCapTicker> getTickers(@QueryParam("structure") String structure) throws IOException - Throws:
IOException
-
getTickers
@GET @Path("ticker") CoinMarketCapArrayData<CoinMarketCapTicker> getTickers(@QueryParam("start") int start, @QueryParam("limit") int limit, @QueryParam("structure") String structure) throws IOException - Parameters:
start
- return results from rank [start] and abovelimit
- number of results. 0 = unlimited- Throws:
IOException
- See Also:
-
getTickers
@GET @Path("ticker") CoinMarketCapArrayData<CoinMarketCapTicker> getTickers(@QueryParam("limit") int limit, @QueryParam("convert") String convert, @QueryParam("structure") String structure) throws IOException - Parameters:
limit
- number of results. 0 = unlimitedconvert
- currency to get price converted to- Throws:
IOException
- See Also:
-
getTickers
@GET @Path("ticker") CoinMarketCapArrayData<CoinMarketCapTicker> getTickers(@QueryParam("start") int start, @QueryParam("limit") int limit, @QueryParam("convert") String convert, @QueryParam("structure") String structure) throws IOException - Parameters:
start
- return results from rank [start] and abovelimit
- number of results. 0 = unlimitedconvert
- currency to get price converted to- Throws:
IOException
- See Also:
-
getTickers
@GET @Path("ticker") CoinMarketCapArrayData<CoinMarketCapTicker> getTickers(@QueryParam("limit") int limit, @QueryParam("structure") String structure) throws IOException - Parameters:
limit
- number of results. 0 = unlimited- Throws:
IOException
- See Also:
-
getTicker
-