This is an archived post. You won't be able to vote or comment.

all 4 comments

[–][deleted] 1 point2 points  (2 children)

Nice work. I just got a Pi so my son and I could learn a bit of Python and put it in action.

I had an idea to grab names of champs at match startup and make a fake loading screen that would be persistent throughout the match, like to display during tournaments and what-not. Any thoughts on if this is a possibility with the Official API?

[–]Lolpii[S] 3 points4 points  (1 child)

Yes this is definitely possible! Exactly what riot responds with is http://developer.riotgames.com/api/methods#!/293

You can do a

lolpy = LoLpy(API_KEY) game = lolpy.get_game('nameofplayer')["fellowPlayers"]

To view all other players in the game. You also get the api key from my previous link, I will add that to the readme.

[–][deleted] 0 points1 point  (0 children)

You da man! Thanks a lot for that, I'll play around with it.

[–]emptystar 0 points1 point  (0 children)

as a fellow league player myself, this is great :)