APIs
Internal REST APIs for sports, streaming, weather, health, and movie tracking. All APIs use Bearer token authentication via Authentik.
APIs
| API | Description | Docs | Status |
|---|---|---|---|
| š league-trac | Sports data for NBA, NHL, MLB, and NFL - players, teams, schedules, preferences | league-trac API ā | live |
| š¦ weather-trac | Current conditions, hourly and daily forecasts, weather alerts - powered by Visual Crossing | weather-trac API ā | live |
| š rx-trac | Medication tracking - medications, prescriptions, refills, vitals, and activity logging | rx-trac API ā | live |
| šŗ stream-trac | Streaming service tracking | - | coming soon |
| š¬ movie-trac | Movie tracking and ratings | - | coming soon |
Authentication
All APIs (except public health endpoints) require a Bearer token issued by Authentik, expiring after 10 minutes.
# Obtain a token
TOKEN=$(auth-token <api-name>)
# Use it
curl -H "Authorization: Bearer $TOKEN" https://api.<api-name>.com/endpoint
Configure credentials in ~/.config/auth-token.env with
AUTHENTIK_URL and the relevant CLIENT_ID for each API.