每个暴动游戏包含 API 的 Java 库
Check out one of the many tests, as they provide good examples.
| Type | Supported |
|---|---|
| V5 compatible? | Yes! |
| Rate-limiting? | Set dynamically based on your key! |
| Cache | Supported |
|---|---|
| FileSystem | Yes! |
| Memory | Partly... |
| SQL | Not yet :( |
For maven / gradle / sbt / leiningen: Jitpack
For a JAR file: Releases
Wrap the method-call in CompletableFuture
CompletableFuture.supplyAsync(() -> api.getSummonerAPI().getSummonerByAccount(Platform.EUW1, Constants.TEST_ACCOUNT_IDS[0])).thenAccept(this::handleSummonerCallback);
private void handleSummonerCallback(Summoner u)
{
System.out.println(u);
}暂无开放 Issues,或尚未同步最近议题。