alexsherman / leeg

2 stars 0 forks source link

Proof of concept using lol-client-java-api to get realtime match data #25

Closed dmcfalls closed 5 years ago

dmcfalls commented 5 years ago

Throw together sick java project using the library. Then play some leeg, and bask in wonder as the pick/ban data streams through my bash console.

dmcfalls commented 5 years ago

Put together a small proof-of-concept, but the stirante lol-client-java-api has some issues. For one, running on my laptop, it didn't properly find the league of legends process. The method to do so is quite jank, I may clone the source code and try to fix the bug and see what I get, just to see if the library still works once everything's been initialized.

The library is small and seems pretty simple. If it does work after some tweaks, I think we could take the ideas and re-implement them in whatever language we desire.

alexsherman commented 5 years ago

There are some other libraries that try to do similar things and maybe they have better process detection methods. i'll link some here that i find

alexsherman commented 5 years ago

javascript and slightly different, but maybe this helps https://github.com/Pupix/rift-explorer/blob/master/util.js

alexsherman commented 5 years ago

websocket resources: https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_a_WebSocket_server_in_Java https://github.com/TooTallNate/Java-WebSocket/tree/master/src/main/java/org/java_websocket https://abhirockzz.gitbooks.io/java-websocket-api-handbook/content/Exploring%20the%20API.html