API
Constructor
new <lol>.API({
apikey: "yOuR-ApI-kEy",
reigon: "euw1"
})Name
Description
Type
Required
apikey
The API Key.
string
YES
reigon
The reigon to fetch data from.
string
NO (default: na1)
findSummoner(gameName)
gameName) Name
Description
Type
Required
gameName
The in-game name for your summoner.
string
YES
Name
Description
Type
accountId
The encrypted summoner ID for this user.
string
profileIconId
ID of the summoner icon associated with the summoner.
number
revisionDate
Date summoner was last modified specified as epoch milliseconds. The following events will update this timestamp: summoner name change, summoner level change, or profile icon change.
number
name
The summoner's name.
string
Last updated
Was this helpful?
