Guides¶
Worked approaches to the things developers actually build with SweatStack. Each guide is a complete pattern: starter projects, architecture for 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.
-
Analyze activity data
A standalone Python script that queries longitudinal data, computes derived metrics, and visualizes them. The pattern for ad-hoc analysis and data work.
If a guide for what you're building doesn't exist yet, the Learn section covers the underlying concepts. For specific endpoints, the HTTP API reference has every parameter.