Skip to content
/ R4J Public
forked from stelar7/R4J

A Java library containing the API for every Riot game

License

Notifications You must be signed in to change notification settings

idannn98/R4J

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

R4J isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.

How do I use it?

Check out one of the many tests, as they provide good examples.

What features does it have?
Type Supported
V4 compatible? Yes!
Rate-limiting? Set dynamically based on your key!
Cache Supported
FileSystem Yes!
Memory Partly...
SQL Not yet :(

How do I download?

For maven / gradle / sbt / leiningen: Jitpack
For a JAR file: Releases

Javadoc?

Click here

How do I async?

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);
}

more examples here

TODO:

  • Add ALL methods to MemoryCacheProvider
  • Add support for sql storage (hibernate?)
  • Add ddragon as an alternative to static-data

About

A Java library containing the API for every Riot game

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%