Skip to content

Latest commit

 

History

History
128 lines (88 loc) · 3.16 KB

StatsApi.md

File metadata and controls

128 lines (88 loc) · 3.16 KB

StatsApi

All URIs are relative to https://localhost/api/v1

Method HTTP request Description
statsGet GET /stats Get exchange-wide and per-series turnover and volume statistics.
statsHistory GET /stats/history Get historical exchange-wide and per-series turnover and volume statistics.
statsHistoryUSD GET /stats/historyUSD Get a summary of exchange statistics in USD.

statsGet

List<Stats> statsGet()

Get exchange-wide and per-series turnover and volume statistics.

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.StatsApi;


StatsApi apiInstance = new StatsApi();
try {
    List<Stats> result = apiInstance.statsGet();
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling StatsApi#statsGet");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

List<Stats>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json, application/xml, text/xml, application/javascript, text/javascript

statsHistory

List<StatsHistory> statsHistory()

Get historical exchange-wide and per-series turnover and volume statistics.

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.StatsApi;


StatsApi apiInstance = new StatsApi();
try {
    List<StatsHistory> result = apiInstance.statsHistory();
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling StatsApi#statsHistory");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

List<StatsHistory>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json, application/xml, text/xml, application/javascript, text/javascript

statsHistoryUSD

List<StatsUSD> statsHistoryUSD()

Get a summary of exchange statistics in USD.

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.StatsApi;


StatsApi apiInstance = new StatsApi();
try {
    List<StatsUSD> result = apiInstance.statsHistoryUSD();
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling StatsApi#statsHistoryUSD");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

List<StatsUSD>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json, application/xml, text/xml, application/javascript, text/javascript