Vai al contenuto
GET /v1/spells

Summoner spells

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/lol-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/lol-api/v1/spells" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lol-api/v1/spells", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lol-api/v1/spells");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/lol-api/v1/spells",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 18,
        "spells": [
            {
                "id": "SummonerBarrier",
                "name": "Barrier",
                "modes": [
                    "ULTBOOK",
                    "PRACTICETOOL",
                    "URF",
                    "NEXUSBLITZ",
                    "ONEFORALL",
                    "WIPMODEWIP",
                    "RUBY",
                    "SWIFTPLAY",
                    "KIWI",
                    "ARAM",
                    "CLASSIC",
                    "TUTORIAL",
                    "BRAWL",
                    "FIRSTBLOOD",
                    "WIPMODEWIP3",
                    "RUBY_TRIAL_2",
                    "RUBY_TRIAL_3",
                    "RUBY_TRIAL_1",
                    "ASSASSINATE",
                    "ARSR",
                    "DOOMBOTSTEEMO"
                ],
                "cooldown": "180",
                "description": "Gain a brief Shield.",
                "summoner_level": 4
            },
            {
                "id": "SummonerBoost",
                "name": "Cleanse",
                "modes": [
                    "ULTBOOK",
                    "PRACTICETOOL",
                    "URF",
                    "NEXUSBLITZ",
                    "ONEFORALL",
                    "WIPMODEWIP",
                    "RUBY",
                    "SWIFTPLAY",
                    "KIWI",
                    "ARAM",
                    "CLASSIC",
                    "TUTORIAL",
                    "BRAWL",
                    "FIRSTBLOOD",
                    "WIPMODEWIP3",
                    "RUBY_TRIAL_2",
                    "RUBY_TRIAL_3",
                    "RUBY_TRIAL_1",
                    "ARSR",
                    "DOOMBOTSTEEMO"
                ],
                "cooldown": "240",
                "description": "Removes all disables (excluding suppression and airborne) and summoner spell debuffs affecting your champion and gives Tenacity.",
                "summoner_level": 9
            },
            {
                "id": "SummonerCherryFlash",
                "name": "Flash",
                "modes": [
                    "CHERRY"
                ],
                "cooldown": "0.25",
                "description": "Teleports your champion a short distance toward your cursor's location.",
                "summoner_level": 1
            },
            {
                "id": "SummonerCherryHold",
                "name": "Flee",
                "modes": [
                    "CHERRY"
                ],
                "cooldown": "45",
                "description": "Gain a short burst of Move Speed, increased while running away from enemy champions.",
                "summoner_level": 1
            },
            {
                "id": "SummonerDot",
                "name": "Ignite",
                "modes": [
                    "ULTBOOK",
                    "PRACTICETOOL",
                    "URF",
                    "NE
…