Closed ghost closed 3 years ago
After looking further into that, I found out that the library I was using before changed up some terms and caused some confusion on my side! Now I know that the Key
is what I want to use, but it doesn't seem like there is a function to fetch champions with the Key
. Anyway, sorry for the inconvenience!
I am currently working on a small scale Discord Bot with some League of Legends functionality and stumbled opon a problem with the
DataDragon.GetChampionByID()
function. To my knowledge every champ should have an numerical ID, for example Vayne has the ID 67, as returned by the ChampionMastery data, but using theByID
function returns nothing when passing in 67.A sample:
Output of the sample: