Skip to content

bsanders/apprentice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Python Flask application to serve open content from the Pathfinder RPG via a RESTful API.

A project written at least partially to demonstrate how to architect a useful web app. Apprentice comes with a Python CLI application to demonstrate consumption of the API as well. The data files are provided as OGL content from Paizo, and are available in a separate repo on github: https://github.com/bsanders/pathfinder_data. A proper WSGI script has not yet been written to run Apprentice. Apprentice serves content as JSON for easy consumption.

Usage:

For testing:

./apprentice.py

To use the cli application, edit apprentice_cli.py with the server details and then run:

./apprentice_cli.py <spell_name>

eg:

./apprentice_cli.py "magic missile"

Requirements:

  • Python v2.4-2.7
  • Apprentice also uses a REDIS server for caching.
  • Apprentice also makes use of a number of third party Python modules, found in requirements.txt.

About

apprentice is a REST-style API with caching to access sections of the Pathfinder ruleset and assist DM's

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages