Abstract base class for device sync services (device_sync_base.py): - Standard OAuth token management with automatic refresh - Credential decryption from integration_configs table - Activity import pipeline with deduplication by external_id - Webhook validation and handling interface - get_valid_token(), get_credentials(), import_activity() helpers Garmin, WHOOP, and Oura sync service implementations follow when API credentials are obtained (Scot action items): - Apply for Garmin Developer Program (DiligenceWorks Pte. Ltd.) - Register WHOOP developer app at developer.whoop.com - Register Oura app at cloud.ouraring.com |
||
|---|---|---|
| .. | ||
| app | ||
| .dockerignore | ||
| Dockerfile | ||
| requirements.txt | ||