GET /dnd/classes/:name
Fáðu complete details for a specific D&D 5e character class by name or index key. Skilar hit die, primary ability scores, saving throw proficiencies, skill choices, starting equipment, class eiginleika by level, spellcasting ability (if applicable), and subclass options. Gögn frá opinberu 5e SRD via the D&D 5e API. Nauðsynlegt fyrir character builders, level-up planners, and class guide generators.
nafn
nauðsynlegt
Class name or index (e.g., wizard, ranger, paladin)
| Nafn | Nauðsynlegt | Sjálfgefið | Lýsing |
|---|---|---|---|
nafn |
Já | - | Class name or index (e.g., wizard, ranger, paladin) |
curl https://nordapi.ee/api/v1/dnd/classes/wizard
curl https://nordapi.ee/api/v1/dnd/classes/wizard
curl https://nordapi.ee/api/v1/dnd/classes/ranger
curl https://nordapi.ee/api/v1/dnd/classes/paladin
{
"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
}