string with the href
string to join after the url with @var encodeURI
JSON Object with search parameters
A @var string that represents a URL with keys and params
Sets the class properties @var championMastery as an Array<ChampionMastery>
Returns an Array of Summoners object with summoners details.
array of strings (Participant interface)
Returns an array of Summoners object.
Sets the summoner class properties @var rankedFlex and @var rankedSolo
Returns a Match object with match details for a given matchId.
matchId that can be acessed through:
summoner = new Summoner();
summoner.get(summonerName);
arrayOfMatchIds = summoner.getMatchIds();
Returns an Array of matchIds.
optional pre-defined Object: params = {start: 0, count: 20};
An array of strings: Array<string>;
Returns the path to the icon location`
A @var string that represents a path to an .png
Method to retrieve a summoner object from RiotGames API
a string containing the summoner name
A @var string that represents a URL with keys and params
Generated using TypeDoc
Returns the URL with indentifiers, keys and search params`
This method is part of lol-api-js package as a utils function
const rawURL = "https://www.google.com/"; const identifier = "search"; const args = {q: "I love artifical intelligence"}; const url = buildUrl(rawURL, identifier, args) // url = "https://www.google.com/search?q=I+love+artificial+intelligence"