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>
Sets the summoner class properties @var rankedFlex and @var rankedSolo
Returns an Array of matchIds.
optional pre-defined Object: params = {start: 0, count: 20};
An array of strings: Array<string>;
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"