← Viihde

D&D-luokan tiedot

GET /dnd/classes/:name

Hae complete details for a specific D&D 5e character class by name or index key. Palauttaa hit die, primary ability scores, saving throw proficiencies, skill choices, starting equipment, class features by level, spellcasting ability (if applicable), and subclass options. Data the official 5e SRD via the D&D 5e API. Välttämätön character builders, level-up planners, and class guide generators.

Parametrit

nimi pakollinen

Class name or index (e.g., wizard, ranger, paladin)

Esimerkkipyynnöt

Peruskäyttö
curl https://nordapi.ee/api/v1/dnd/classes/wizard
Wizard class details
curl https://nordapi.ee/api/v1/dnd/classes/wizard
Ranger class details
curl https://nordapi.ee/api/v1/dnd/classes/ranger
Paladin class details
curl https://nordapi.ee/api/v1/dnd/classes/paladin

Reaaliaikainen vastaus

{
  "data": {
    "hit_die": 6,
    "name": "Wizard",
    "proficiencies": [
      "Daggers",
      "Darts",
      "Slings",
      "Quarterstaffs",
      "Crossbows, light",
      "Saving Throw: INT",
      "Saving Throw: WIS"
    ],
    "saving_throws": [
      "INT",
      "WIS"
    ],
    "subclasses": [
      "Evocation"
    ]
  },
  "success": true
}