DorskFR / LeaguePyBot

A Python computer vision bot for League Of Legends

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

May I ask for little questions ?

albertm88 opened this issue · comments

Pardon me, sir.
I'm now make the same project for lol to explore the attractions of automatic programming, I searched for the api of the game, but it seems that I cannot get the core and prictical example or tutorials, could you please make a page more detailed about the api ,sir ?
I must say thanks to you if you could help me some about it.
This is my freshman project : https://github.com/albertm88/LeagueAuto

Looking forward to hearing from you

Sincerely Yours,

Hello,

If you are talking about this project, I haven't really made a documentation, there is just one page at https://github.com/DorskFR/LeaguePyBot/wiki. I do not have time to update anything at the moment, but as I use this project as a learning material I might revisit it someday. For now, the below might be of more use to you:

If you are talking about the game API, which gives you information on the current playing game, check this link: https://developer.riotgames.com/docs/lol#game-client-api . This local API is started when a game begins and shutdown after it ends.

If you are talking about the league client (lobby, etc. before starting a game) check this: https://developer.riotgames.com/docs/lol#league-client-api
and you can get more information on the available endpoints with this project https://github.com/Pupix/rift-explorer or this page https://lcu.vivide.re

There is a small python wrapper https://github.com/sousa-andre/lcu-driver/ to help with connecting to the client.
And in this current project, in folder https://github.com/DorskFR/LeaguePyBot/tree/main/LPBv2/LPBv2/client/http_requests there are functions that aim to implement those endpoints but they are not documented.

Good luck!

Got it, appreciate a lot.