whoop_sync
Pull WHOOP recovery, sleep, workout, and cycle data into Postgres incrementally or as a full backfill, enabling offline queries without hitting API rate limits.
Instructions
Pull data from the WHOOP API into Postgres. Incremental by default (last days days plus anything since the last sync); set full=true to backfill the account's entire history. Returns per-collection counts and errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days of recent history to re-fetch. | |
| full | No | Backfill everything instead of an incremental window. |