ShoobyDoo / OPGG.py

An unofficial Python library for accessing OPGG data.
BSD 3-Clause "New" or "Revised" License
13 stars 5 forks source link

Create an Evolve object #8

Closed ShoobyDoo closed 4 days ago

ShoobyDoo commented 1 year ago

Upon further investigation, it turns out that in the case of Kayn, there IS something passed back in the evolve object.

This has information such as Blue Kayn vs Red Kayn, and its possible riot could create more champions with this evolve attribute.

Therefore, an evolve object should be created to store the following dictionary structure:

{
    "key":"SLAYER",
    "name":"Red Kayn · Darkin Slayer",
    "image_url":"https://opgg-static.akamaized.net/meta/images/lol/champion/Kayn-Rhaast.webp"
},
{
    "key":"ASSASSIN",
    "name":"Blue Kayn · Shadow Assassin",
    "image_url":"https://opgg-static.akamaized.net/meta/images/lol/champion/Kayn-Shadow-Assassin.webp"
}