public final class ChampionMasteryV4Endpoints extends Endpoints
Modifier and Type | Method and Description |
---|---|
List<ChampionMastery> |
getAllChampionMasteries(Region region,
String encryptedSummonerId)
Get all champion mastery entries sorted by number of champion points descending,
Link to Portal
|
CompletableFuture<List<ChampionMastery>> |
getAllChampionMasteriesAsync(Region region,
String encryptedSummonerId)
Get all champion mastery entries sorted by number of champion points descending,
Link to Portal
|
ChampionMastery |
getChampionMastery(Region region,
String encryptedSummonerId,
long championId)
Get a champion mastery by player ID and champion ID.
|
CompletableFuture<ChampionMastery> |
getChampionMasteryAsync(Region region,
String encryptedSummonerId,
long championId)
Get a champion mastery by player ID and champion ID.
|
Integer |
getChampionMasteryScore(Region region,
String encryptedSummonerId)
Get a player's total champion mastery score, which is the sum of individual champion mastery levels.
|
CompletableFuture<Integer> |
getChampionMasteryScoreAsync(Region region,
String encryptedSummonerId)
Get a player's total champion mastery score, which is the sum of individual champion mastery levels.
|
public Integer getChampionMasteryScore(Region region, String encryptedSummonerId)
region
- Region to execute against.encryptedSummonerId
- (required) Summoner ID associated with the playerpublic CompletableFuture<Integer> getChampionMasteryScoreAsync(Region region, String encryptedSummonerId)
region
- Region to execute against.encryptedSummonerId
- (required) Summoner ID associated with the playerpublic ChampionMastery getChampionMastery(Region region, String encryptedSummonerId, long championId)
region
- Region to execute against.encryptedSummonerId
- (required) Summoner ID associated with the playerchampionId
- (required) Champion ID to retrieve Champion Mastery forpublic CompletableFuture<ChampionMastery> getChampionMasteryAsync(Region region, String encryptedSummonerId, long championId)
region
- Region to execute against.encryptedSummonerId
- (required) Summoner ID associated with the playerchampionId
- (required) Champion ID to retrieve Champion Mastery forpublic List<ChampionMastery> getAllChampionMasteries(Region region, String encryptedSummonerId)
region
- Region to execute against.encryptedSummonerId
- (required) Summoner ID associated with the playerpublic CompletableFuture<List<ChampionMastery>> getAllChampionMasteriesAsync(Region region, String encryptedSummonerId)
region
- Region to execute against.encryptedSummonerId
- (required) Summoner ID associated with the playerCopyright © 2019. All rights reserved.