Oura API Complete Export
Authenticate with an Oura OAuth app (client id/secret + redirect URI), store and refresh tokens, and export all available Oura v2 usercollection datasets to...
Latest: v1.0.0
Initial release: OAuth auth + token refresh + full Oura v2 export scripts and docs.
Full description
Authenticate with an Oura OAuth app (client id/secret + redirect URI), store and refresh tokens, and export all available Oura v2 usercollection datasets to JSON files. Use when the user asks for full Oura backup/raw export, end-to-end Oura auth setup, or repeatable data pulls for analysis/ETL.
Oura API Complete Export
Use this skill to set up OAuth auth for Oura and export all available Oura data into JSON.
Folder structure
SKILL.mdREADME.mdscripts/auth_oura_oauth.pyscripts/export_oura_data.pyscripts/run_full_export.shreferences/endpoints.md
Workflow
- Run OAuth auth once:
bash python3 scripts/auth_oura_oauth.py --client-id <CLIENT_ID> --client-secret <CLIENT_SECRET> --redirect-uri http://localhost:8765/callback - Run export:
bash python3 scripts/export_oura_data.py --start 2020-01-01 --end $(date +%F) --out ./oura_export - For convenience:
bash ./scripts/run_full_export.sh 2020-01-01 $(date +%F) ./oura_export
Behavior
- Refresh token automatically before/when needed.
- Follow paginated endpoints automatically.
- Continue export on per-endpoint failures and log errors.
- Keep raw payloads in endpoint-specific JSON files for downstream tools.
