Find Summoner by ID
findSummonerById(string) Or findSummonerById([array])
This function is the same as findSummoner but instead of passing summoner names it takes summoner IDs as parameters. It also accepts an array of up to 40 summoner IDs.
lol.findSummonerById('48641392').then((result) => {
console.log(result));
});
{
"48641392": {
"id": 48641392,
"name": "SHP CoraSan",
"profileIconId": 1301,
"revisionDate": 1478919853000,
"summonerLevel": 30
}
}