Find Summoner by Name
findSummoner(string)
Or findSummoner([array])
Find a summoner by passing the summoner name as a parameter tofindSummoner
. You can also pass an array of up to 40 summoner names.
lol.findSummoner('shp corasan').then((result) => {
console.log(result));
});
{
"shpcorasan": {
"id": 48641392,
"name": "SHP CoraSan",
"profileIconId": 1301,
"revisionDate": 1477504931000,
"summonerLevel": 30
}
}