🐉

龙与地下城

已测试可用GET
游戏提供商: D&D 5e API

D&D 5e规则数据,包括职业、种族、法术等

#D&D#龙与地下城#RPG#桌游

请求地址

GET https://www.dnd5eapi.co/api/

在线测试

GEThttps://www.dnd5eapi.co/api/

注册并登录后即可在线测试 API

请求参数

参数名类型必填描述
qstring查询关键字
limitnumber返回数量限制
JavaScriptfetch
fetch('https://www.dnd5eapi.co/api/')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));
cURL命令行
curl "https://www.dnd5eapi.co/api/"