
Product
A New Design for GitHub PR Comments
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
const RiotAPI = require('riotapi');
const api = new RiotAPI('api-key-here', { region: RiotAPI.REGION.korea });
api
.getSummonerV4ByName('Hide on bush')
.then(console.log)
.catch(console.error);
WORK IN PROGRESS
api.getChamptionMasteryListV4BySummonerId(id, (data, error) => {
if (error) {
// Handle error ...
return;
}
// handler response ...
});
Returns ChampionMasteryV4
api.getChamptionMasteryV4BySummonerIdByChampionId(
summonerId,
championId,
(data, error) => {
if (error) {
// Handle error ...
return;
}
// handler response ...
}
);
Returns ChampionMasteryV4
api.getChamptionMasteryV4ScoreBySummonerId(id, (data, error) => {
if (error) {
// Handle error ...
return;
}
// handler response ...
});
Returns Number
FAQs
This is an open source League of Legends RiotAPI Library.
We found that riotapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Slopsquatting is a new supply chain threat where AI-assisted code generators recommend hallucinated packages that attackers register and weaponize.