-
Notifications
You must be signed in to change notification settings - Fork 1
API Endpoints
Petar Basta edited this page Nov 29, 2020
·
22 revisions
HTTP Method | URI Path | Description | Input | Output |
---|---|---|---|---|
GET | /predictWinner | Predicts the winner of a match | JSON Champions | Double winPercentage |
Champions: {
"redTop": championID,
"redJungle": championID,
"redMid": championID,
"redAdc": championID,
"redSupport": championID,
"blueTop": championID,
"blueJungle": championID,
"blueMid": championID,
"blueAdc": championID,
"blueSupport": championID
}
Enum Champion: {
aatrox, ahri, akali, alistar, amumu, anivia, annie, aphelios, ashe, aurelionSol, azir, bard, blitzcrank, brand, braum, caitlyn,
camille, cassiopeia, chogath, corki, darius, diana, drmundo, draven, ekko, elise, evelynn, ezreal, fiddlesticks, fiora, fizz, galio,
gangplank, garen, gnar, gragas, graves, hecarim, heimerdinger, illaoi, irelia, ivern, janna, jarvanIV, jax, jayce, jhin, jinx,
kaisa, kalista, karma, karthusm, kassadin, katarina, kayle, kayn, kennen, khazix, kindred, kled, kogmaw, leblanc, leesin, leona,
lillia, lissandra, lucian, lulu, lux, malphite, malzahar, maokai, masteryi, missfortune, mordekaiser, morgana, nami, nasus, nautilus,
neeko, nidalee, nocturne, nunu, olaf, orianna, ornn, pantheon, poppy, pyke, qiyana, quinn, rakan, rammus, reksai, renekton, rengar,
riven, rumble, ryze, samira, sejuani, senna, sett, shaco, shen, shyvana, singed, sion, sivir, skarner, sona, soraka, swain, sylas, syndra,
tahmkench, taliyah, talon, taric, teemo, thresh, tristana, trundle, tryndamere, twistedfate, twitch, udyr, urgot, varus, vayne, veigar,
velkoz, vi, viktor, vladimir, volibear, warwick, wukong, xayah, xerath, xinzhao, yasuo, yone, yorick, yuumi, zac, zed, ziggs, zilean, zoe, zyra
}
Enum Rank: {
Iron, Bronze, Silver, Gold, Platinum, Diamond, Master, Grandmaster, Challenger
}