Provide a standardized set of Pathfinder Second Edition data for community use.
- Fast
- Lightweight
- Current
The API gets its data from the official SRD - Archives of Nethys. It caches data it retrieves for 20 minutes, which is tracked per item (e.g. the Human Ancestry will go stale separately from the Dwarf Ancestry).
Access (url)/api/v1/(resource)?(options)
(resource) = ancestries
Options:
- name
- Not case sensitive
- (url)/api/v1/ancestries?name=dwarf
- (url)/api/v1/ancestries?name=dWaRF
-
Navigate to the repo directory and execute:
python3 api.py
-
Open a browser and point it to http://localhost:5000