1.0.0 • Published 1 year ago
lol-data-miner v1.0.0
About
An async Riot API data miner that gets a ton of recent match stats in parallel.
Usage
const lolDataMiner = require("lol-data-miner");
const apiKey = "putYourApiKeyHere";
async function logStats(server, user, queue, matches, key) {
const data = await lolDataMiner.getRecentMatches(
server,
user,
queue,
matches,
key
);
console.log(data);
}
logStats("kr", "Hide on bush", "ranked", 18, apiKey);
1.0.0
1 year ago