AA Daily Reflections

A daily companion for your spiritual journey

API Documentation

Access all 365 daily reflections programmatically using our simple URL-based API. No separate JSON files needed - everything is served dynamically from a single HTML file!

How It Works

Add ?format=json to any URL to get a JSON response instead of HTML:

# Get a specific reflection
https://mkp715.github.io/DailyReflections/#1-2?format=json

# Get list of all available reflections
https://mkp715.github.io/DailyReflections/?format=json

Date Format

  • month - Numeric month (1-12)
  • date - Numeric day (1-31)
  • Format: #month-date

Example Requests

# January 2
https://mkp715.github.io/DailyReflections/#1-2?format=json

# December 25
https://mkp715.github.io/DailyReflections/#12-25?format=json

# Local testing
file:///path/to/index.html#1-2?format=json

Response Format

The API returns a JSON object with the following structure:

{
  "bookName": "dailyReflections",
  "month": 1,
  "date": 2,
  "title": "FIRST, THE FOUNDATION",
  "reflection": ["paragraph 1", "paragraph 2", ...],
  "source": {
    "bookName": "AS BILL SEES IT",
    "page": 8
  },
  "explanation": ["paragraph 1", "paragraph 2", ...]
}

Benefits

  • Single HTML file serves all 365 reflections
  • Fast and efficient - no server-side processing needed
  • Works on GitHub Pages static hosting
  • Same URL structure for HTML and JSON views

Select a Date

Reflection

Meditation

�

Data Not Found

The requested reflection does not exist. Please check the date and try again.