Documentation ¶
Overview ¶
Session-stats collects statistics about the sessions of a campaign, which are stored conveniently in a user-editable JSON file, and reformats them into HTML suitable for posting to a campaign website. The JSON file consists of an object with the following field:
game_sessions This is a list of objects representing each game, each with the fields: date The game date in mm-ddd-yyyy format video The YouTube video link (just the token after "v=" in the URL) duration Game session length, e.g. 4h30m5s title Title for the game session world_dates The date(s) in the game world where the events took place book The AP "book" number (integer) synopsis Brief synopsis of what happened in the game session url URL to the full game session summary write-up
More data values may be defined in the future as this program grows.
These are output as an HTML table with total game play time at the bottom.
Click to show internal directories.
Click to hide internal directories.