-
Notifications
You must be signed in to change notification settings - Fork 1
Getting all (owned) champions, skins and chromas
dysolix edited this page Apr 18, 2024
·
1 revision
These endpoints only work for the local summoner. Using any other summoner id will fail. The endpoints return all champions, skins and chromas regardless of ownership and include ownership information in the data.
const championsWithoutSkins = await client.request("get", "/lol-champions/v1/inventories/{summonerId}/champions-minimal", {
path: { summonerId: "..." }
});
const skinsWithoutChromas = await client.request("get", "/lol-champions/v1/inventories/{summonerId}/skins-minimal", {
path: { summonerId: "..." }
});
const championsWithSkinsWithChromas = await client.request("get", "/lol-champions/v1/inventories/{summonerId}/champions", {
path: { summonerId: "..." }
});