All URIs are relative to https://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
leaderboardGet | GET /leaderboard | Get current leaderboard. |
-(NSURLSessionTask*) leaderboardGetWithMethod: (NSString*) method
completionHandler: (void (^)(NSArray<SWGLeaderboard>* output, NSError* error)) handler;
Get current leaderboard.
NSString* method = @"notional"; // Ranking type. Options: \"notional\", \"ROE\" (optional) (default to notional)
SWGLeaderboardApi*apiInstance = [[SWGLeaderboardApi alloc] init];
// Get current leaderboard.
[apiInstance leaderboardGetWithMethod:method
completionHandler: ^(NSArray<SWGLeaderboard>* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling SWGLeaderboardApi->leaderboardGet: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
method | NSString* | Ranking type. Options: "notional", "ROE" | [optional] [default to notional] |
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]