lucasmassarico / Champion-Damage-Calculator

0 stars 0 forks source link

create api to calculate champions #2

Open lucasmassarico opened 1 year ago

lucasmassarico commented 1 year ago

localhost:5998/calculator?champion_level=2

pattern json { champion champion_level champion_runes_keystone champion_runes_1 champion_runes_2 champion_runes_3 champion_runes_4 champion_runes_5 champion_runes_shards_1 champion_runes_shards_2 champion_runes_shards_3 champion_item_1 champion_item_2 champion_item_3 champion_item_4 champion_item_5 champion_item_6

enemy_champion enemy_champion_level enemy_champion_items enemy_champion_runes=predator

combo drakes have_ancient = bool have_baron = bool }

lucasmassarico commented 1 year ago

{ champion: { champion_name: string, champion_level: int, champion_items: string, champion_runes: string, drakes: string, have_ancient: bool, have_baron: bool, combo: dict } enemy_champion: { e_champion_name: string, e_champion_level: int, e_champion_items: string, e_champion_runes: string, drakes: string, } }

lucasmassarico commented 1 year ago

./

lucasmassarico commented 1 year ago

returned json:

Image