public final class LeagueV4Endpoints extends Endpoints
| Modifier and Type | Method and Description | 
|---|---|
List<LeaguePosition> | 
getAllLeaguePositionsForSummoner(Region region,
                                String encryptedSummonerId)
(Deprecated) Get league positions in all queues for a given summoner ID. 
 | 
CompletableFuture<List<LeaguePosition>> | 
getAllLeaguePositionsForSummonerAsync(Region region,
                                     String encryptedSummonerId)
(Deprecated) Get league positions in all queues for a given summoner ID. 
 | 
LeagueList | 
getChallengerLeague(Region region,
                   String queue)
Get the challenger league for given queue. 
 | 
CompletableFuture<LeagueList> | 
getChallengerLeagueAsync(Region region,
                        String queue)
Get the challenger league for given queue. 
 | 
LeagueList | 
getGrandmasterLeague(Region region,
                    String queue)
Get the grandmaster league of a specific queue. 
 | 
CompletableFuture<LeagueList> | 
getGrandmasterLeagueAsync(Region region,
                         String queue)
Get the grandmaster league of a specific queue. 
 | 
LeagueList | 
getLeagueById(Region region,
             String leagueId)
Get league with given ID, including inactive entries. 
 | 
CompletableFuture<LeagueList> | 
getLeagueByIdAsync(Region region,
                  String leagueId)
Get league with given ID, including inactive entries. 
 | 
List<LeagueEntry> | 
getLeagueEntries(Region region,
                String division,
                String tier,
                String queue)
Get all the league entries. 
 | 
List<LeagueEntry> | 
getLeagueEntries(Region region,
                String division,
                String tier,
                String queue,
                Integer page)
Get all the league entries. 
 | 
CompletableFuture<List<LeagueEntry>> | 
getLeagueEntriesAsync(Region region,
                     String division,
                     String tier,
                     String queue)
Get all the league entries. 
 | 
CompletableFuture<List<LeagueEntry>> | 
getLeagueEntriesAsync(Region region,
                     String division,
                     String tier,
                     String queue,
                     Integer page)
Get all the league entries. 
 | 
List<LeagueEntry> | 
getLeagueEntriesForSummoner(Region region,
                           String encryptedSummonerId)
Get league entries in all queues for a given summoner ID. 
 | 
CompletableFuture<List<LeagueEntry>> | 
getLeagueEntriesForSummonerAsync(Region region,
                                String encryptedSummonerId)
Get league entries in all queues for a given summoner ID. 
 | 
LeagueList | 
getMasterLeague(Region region,
               String queue)
Get the master league for given queue. 
 | 
CompletableFuture<LeagueList> | 
getMasterLeagueAsync(Region region,
                    String queue)
Get the master league for given queue. 
 | 
List<LeaguePosition> | 
getPositionalLeagueEntries(Region region,
                          String positionalQueue,
                          String tier,
                          String division,
                          String position,
                          int page)
(Deprecated) Get all the positional league entries. 
 | 
CompletableFuture<List<LeaguePosition>> | 
getPositionalLeagueEntriesAsync(Region region,
                               String positionalQueue,
                               String tier,
                               String division,
                               String position,
                               int page)
(Deprecated) Get all the positional league entries. 
 | 
List<String> | 
getQueuesWithPositionRanks(Region region)
(Deprecated) Get the queues that have positional ranks enabled. 
 | 
CompletableFuture<List<String>> | 
getQueuesWithPositionRanksAsync(Region region)
(Deprecated) Get the queues that have positional ranks enabled. 
 | 
public LeagueList getChallengerLeague(Region region, String queue)
region - Region to execute against.queue - (required) nullpublic CompletableFuture<LeagueList> getChallengerLeagueAsync(Region region, String queue)
region - Region to execute against.queue - (required) nullpublic List<LeagueEntry> getLeagueEntriesForSummoner(Region region, String encryptedSummonerId)
region - Region to execute against.encryptedSummonerId - (required) nullpublic CompletableFuture<List<LeagueEntry>> getLeagueEntriesForSummonerAsync(Region region, String encryptedSummonerId)
region - Region to execute against.encryptedSummonerId - (required) nullpublic LeagueList getGrandmasterLeague(Region region, String queue)
region - Region to execute against.queue - (required) nullpublic CompletableFuture<LeagueList> getGrandmasterLeagueAsync(Region region, String queue)
region - Region to execute against.queue - (required) nullpublic LeagueList getMasterLeague(Region region, String queue)
region - Region to execute against.queue - (required) nullpublic CompletableFuture<LeagueList> getMasterLeagueAsync(Region region, String queue)
region - Region to execute against.queue - (required) nullpublic List<String> getQueuesWithPositionRanks(Region region)
region - Region to execute against.public CompletableFuture<List<String>> getQueuesWithPositionRanksAsync(Region region)
region - Region to execute against.public List<LeaguePosition> getAllLeaguePositionsForSummoner(Region region, String encryptedSummonerId)
region - Region to execute against.encryptedSummonerId - (required) nullpublic CompletableFuture<List<LeaguePosition>> getAllLeaguePositionsForSummonerAsync(Region region, String encryptedSummonerId)
region - Region to execute against.encryptedSummonerId - (required) nullpublic List<LeaguePosition> getPositionalLeagueEntries(Region region, String positionalQueue, String tier, String division, String position, int page)
region - Region to execute against.positionalQueue - (required) Note that the queue value must be a valid positional queue.tier - (required) nulldivision - (required) nullposition - (required) nullpage - (required) Starts with page 0.public CompletableFuture<List<LeaguePosition>> getPositionalLeagueEntriesAsync(Region region, String positionalQueue, String tier, String division, String position, int page)
region - Region to execute against.positionalQueue - (required) Note that the queue value must be a valid positional queue.tier - (required) nulldivision - (required) nullposition - (required) nullpage - (required) Starts with page 0.public LeagueList getLeagueById(Region region, String leagueId)
region - Region to execute against.leagueId - (required) The UUID of the league.public CompletableFuture<LeagueList> getLeagueByIdAsync(Region region, String leagueId)
region - Region to execute against.leagueId - (required) The UUID of the league.public List<LeagueEntry> getLeagueEntries(Region region, String division, String tier, String queue)
region - Region to execute against.division - (required) nulltier - (required) nullqueue - (required) Note that the queue value must be a valid ranked queue.public CompletableFuture<List<LeagueEntry>> getLeagueEntriesAsync(Region region, String division, String tier, String queue)
region - Region to execute against.division - (required) nulltier - (required) nullqueue - (required) Note that the queue value must be a valid ranked queue.public List<LeagueEntry> getLeagueEntries(Region region, String division, String tier, String queue, Integer page)
region - Region to execute against.division - (required) nulltier - (required) nullqueue - (required) Note that the queue value must be a valid ranked queue.page - (optional) Starts with page 1.public CompletableFuture<List<LeagueEntry>> getLeagueEntriesAsync(Region region, String division, String tier, String queue, Integer page)
region - Region to execute against.division - (required) nulltier - (required) nullqueue - (required) Note that the queue value must be a valid ranked queue.page - (optional) Starts with page 1.Copyright © 2019. All rights reserved.