Closed LucasMcManus closed 5 years ago
Hey, you're not missing anything. The Riot API doesn't provide info about champ-select. It only provides post-match information. If you only care about accessing your own champ-select info, you can use the LCU API. If you want to do that, jump onto the Riot API Discord and look in the pinned messages in the #lcu-api channel.
Thank you very much, sorry to bother you guys since this isnt part of your project though!
On Tue, Aug 13, 2019 at 6:00 PM Jason Maldonis notifications@github.com wrote:
Hey, you're not missing anything. The Riot API doesn't provide info about champ-select. It only provides post-match information. If you only care about accessing your own champ-select info, you can use the LCU API. If you want to do that, jump onto the Riot API Discord and look in the pinned messages in the #lcu-api channel.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/meraki-analytics/orianna/issues/103?email_source=notifications&email_token=ALNOEPE2LQBVW3GQQLINHDTQENDKPA5CNFSM4ILLSZIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4HKEGQ#issuecomment-521052698, or mute the thread https://github.com/notifications/unsubscribe-auth/ALNOEPHT5VXLPF3Q5CJTWQTQENDKPANCNFSM4ILLSZIA .
No worries!
Just wanted to note here - Jason's talking about if you're looking for live pick/ban data, which you have to use the LCU API for.
If you're just looking for the pick order and bans from each team for a historical match, you can get a Team
object using match.getRedTeam()
or match.getBlueTeam()
. You can do team.getBans()
to check their bans, or team.getParticipants()
to get a list of the members of the team in pick order (which will include what champion they chose using participant.getChampion()
).
Hi, the title really says it all. I was wondering if this was possible with Orianna, I've looked through the documentation and I can't seem to find it. Am I just missing something obvious?