open5e-api icon indicating copy to clipboard operation
open5e-api copied to clipboard

API endpoints for Combat and Gameplay Mechanics

Open zachanator070 opened this issue 4 years ago • 0 comments

From what I can tell there is currently not an API endpoint to get information from the following sections that the front end has:

Combat:

  • Actions in Combat
  • Attacking
  • Combat Sequence
  • Cover
  • Damage & Healing
  • Mounted combat
  • Movement in Combat
  • Underwater Combat

Gameplay Mechanics:

  • Ability Scores
  • Between Adventures
  • Environment
  • Movement
  • Objects
  • Rest
  • Saving Throws
  • Time

I imagine this may be as easy as adding each of these sections to data/WOTC_5e_SRD_v5.1/sections.json

This doesn't sound too hard as it looks like just converting the html you have in the UI to markdown and then adding to the json file. I think I can make a PR but I wanted to ask before I put work into it.

zachanator070 avatar Sep 30 '20 03:09 zachanator070