Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dexuby/leagueclient4j
API for the endpoints of the League of Legends client.
https://github.com/dexuby/leagueclient4j
league-client league-client-api league-of-legends league-of-legends-client leagueoflegends lol
Last synced: 15 days ago
JSON representation
API for the endpoints of the League of Legends client.
- Host: GitHub
- URL: https://github.com/dexuby/leagueclient4j
- Owner: dexuby
- Created: 2024-02-22T21:12:42.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-23T18:10:51.000Z (11 months ago)
- Last Synced: 2024-11-11T22:14:52.423Z (3 months ago)
- Topics: league-client, league-client-api, league-of-legends, league-of-legends-client, leagueoflegends, lol
- Language: Java
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![](https://jitpack.io/v/dexuby/leagueclient4j.svg)](https://jitpack.io/#dexuby/leagueclient4j)
```xml
jitpack.io
https://jitpack.io
com.github.dexuby
leagueclient4j
1.0.0```
## Unfinished API for the League of Legends client endpoints### How to obtain an API instance?
Make sure to start the League of Legends client before you call the #hookAPI method,
the system will fetch all tokens and ports from the running process so you don't have to
do or provide anything manually.
```java
final LeagueClientAPI api = LeagueClient.getInstance().hookAPI();
```### What's currently possible?
The API provided by this library currently only supports a few things:
- You can fetch all people that you're in a lobby with (even in ranked lobbies where names are hidden): `LeagueClientAPI#getParticipants`
- You can fetch locale data (language, region, etc.): `LeagueClientAPI#getRegionLocale`
- You can fetch your wallet data (RP, blue essence): `LeagueClientAPI#getWallet`
- You can fetch your login session info: `LeagueClientAPI#getSession`
- You can fetch your current summoner data (profile icon id, level, required xp, etc.): `LeagueClientAPI#getCurrentSummoner`
- You can check if your account is eligible for a free riot alias change: `LeagueClientAPI#isEligibleForFreeRiotAlias`
- You can invite people to your current lobby: `LeagueClientAPI#inviteToLobby`
- You can create a new lobby for any active game mode: `LeagueClientAPI#createLobby`
- You can set your Solo & Duo Rank to Challenger (only visible in chat module, not profile): `LeagueClientAPI#fakeRank`
- ... and a bunch more (check the LeagueClientAPI class)### How do I contribute/find more endpoints?
Easiest way is to use an IFEO debugger to get rid of some of the flags that get applied to the client when it gets started.
Once this is done you can use a tool like Fiddler after enabling HTTPS decryption. If you want to make your own IFEO debugger
I'd recommend to use C# for simplicity, might upload a project for one at a later point. Any implementation you find on GitHub
should work just fine.