Guides¶
Worked examples of what developers build with SweatStack. Each guide is a complete pattern: starter projects, architecture for the harder integrations, and analysis workflows.
-
Build a Streamlit app
A Streamlit app that authenticates with SweatStack, lets the user pick an activity, and renders a heart-rate chart. Fastest path to a working integration.
-
Build and deploy a FastAPI app
End-to-end: a FastAPI app authenticated against SweatStack, deployed to Fly.io with a public URL.
-
Build a native mobile app
Architecture for iOS and Android: PKCE on the device, secure token storage, and webhooks-to-push notifications via a server-side gateway.
-
Onboarding and backfill UX
What to render during the first session while a user's history is still being ingested. Opinionated about what works in production.
-
Custom calculations on activities
How to add your own derived values on top of SweatStack without mirroring activity data into a database. App metadata on the activity replaces the local store in most cases.
-
Analyze activity data
A standalone Python script that queries longitudinal data, computes derived values, and plots them. The pattern for ad-hoc analysis and data work.
If there is no guide for what you're building, the Learn section covers the underlying concepts. For specific endpoints, the API reference has every parameter and response field. To run a request live against your account, use the API playground.