fix: load API bearer token from env var instead of hardcoding (#2) #44

Closed
Claude wants to merge 1 commits from ai/paper-dynasty-card-creation-2 into main

1 Commits

Author SHA1 Message Date
Cal Corum
548d67ac1f fix: load API bearer token from env var instead of hardcoding (#2)
Closes #2

Removes hardcoded bearer token from db_calls.py and .claude/ops-rework/check_prod_missing_ratings.py.
Both files now call load_dotenv() and read PD_API_TOKEN from the environment.
The .env file (already gitignored) already contains the PD_API_TOKEN key.
Added python-dotenv>=1.0.0 to pyproject.toml dependencies.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 03:33:36 -05:00