LeaderboardsRequest
public enum LeaderboardsRequest : URLRequestConvertible
Enumeration of network requests for Leaderboard.
-
Get leaderboard with optional
Parameters
.Declaration
Swift
case getLeaderboards(parameters: Parameters?)
-
Get leaderboard for page.
Declaration
Swift
case getLeaderboardForPage(page: Int)
-
Get leaderboard with name, category, page, size, and buffer.
Declaration
Swift
case getLeaderboard(name: String, category: String, parameters: Parameters?)
-
Get leaderboard around the user with name, page, size, and buffer.
Declaration
Swift
case getAroundMeLeaderboard(name: String, page: Int, size: Int, buffer: Int)
-
Declaration
Swift
public var path: String { get }
-
Declaration
Swift
public var parameters: Parameters? { get }