-
Create a WHOOP developer application.
-
Register
http://localhost:8400/callbackas its redirect URI. -
Configure
WHOOP_CLIENT_IDandWHOOP_CLIENT_SECRET, or store them in the secure backend described in Authentication. -
Check configuration:
whoop config diagnose --json
-
Authorize once:
whoop auth
-
Read data:
whoop recovery --json whoop workouts --plain whoop weekly
The CLI requests only read:profile read:body_measurement read:cycles read:recovery read:sleep read:workout offline. It does not control devices or write account data. See Automation before embedding it in another program.