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. |
-(NSURLSessionTask*) statsGetWithCompletionHandler:
(void (^)(NSArray<SWGStats>* output, NSError* error)) handler;
Get exchange-wide and per-series turnover and volume statistics.
SWGStatsApi*apiInstance = [[SWGStatsApi alloc] init];
// Get exchange-wide and per-series turnover and volume statistics.
[apiInstance statsGetWithCompletionHandler:
^(NSArray<SWGStats>* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling SWGStatsApi->statsGet: %@", error);
}
}];
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]
-(NSURLSessionTask*) statsHistoryWithCompletionHandler:
(void (^)(NSArray<SWGStatsHistory>* output, NSError* error)) handler;
Get historical exchange-wide and per-series turnover and volume statistics.
SWGStatsApi*apiInstance = [[SWGStatsApi alloc] init];
// Get historical exchange-wide and per-series turnover and volume statistics.
[apiInstance statsHistoryWithCompletionHandler:
^(NSArray<SWGStatsHistory>* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling SWGStatsApi->statsHistory: %@", error);
}
}];
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]
-(NSURLSessionTask*) statsHistoryUSDWithCompletionHandler:
(void (^)(NSArray<SWGStatsUSD>* output, NSError* error)) handler;
Get a summary of exchange statistics in USD.
SWGStatsApi*apiInstance = [[SWGStatsApi alloc] init];
// Get a summary of exchange statistics in USD.
[apiInstance statsHistoryUSDWithCompletionHandler:
^(NSArray<SWGStatsUSD>* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling SWGStatsApi->statsHistoryUSD: %@", error);
}
}];
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]