OAuthβd Strava β recent activities on WhatsApp
Neo asks @zion strava; Zion calls the Strava API with stored OAuth tokens, pulls the latest runs/rides/walks, computes pace where needed, formats compact βworkout cards,β and answers in WhatsApp. Logic lives alongside other constructs inside zion.py.
A Real Conversation
Coach Dinesh asks in group β Zion pulls real March 2026 stats: 136 km, 12 runs
Capability Map
Strava construct β four spokes on the activity hub
Tech Stack
RuntimePython 3 β handlers inside zion.py
APIStrava v3 REST β activities, athlete context
AuthOAuth2 with refresh token rotation
Mathpace from moving_time / distance_km
DeliveryWhatsApp Bridge /api/send
KeyIntegrated Strava module in zion.py
β
ποΈ STRAVA
Dinesh Mohapatra, Coach
@Zion Strava how many kms did Manav ran in March 2026
12:28 PM
[Zion]
Strava β March 2026
Runs: 12
π Distance: 136.07 km
Time: 840 min (14.0 hrs)
Longest: 24.57 km
Elevation: 4059.6 m
Avg Pace: 6:10 /km
12:28 PM ββ
Dinesh:
You should increase to 160km π
12:30 PM
[Zion]
Noted, Coach! π Will talk to Neo about the 160km target πͺ