The rider's body settings (FTP, FTP history, max HR, weight, age in years, units), the dates of their first and last ride, the ride count and when the app last synced. ftp_history only holds FTPs a test replaced ("Use as FTP"); an FTP the rider typed in is not recorded there.
Takes no parameters.
The rider's rides, newest first: id, local start, duration, kJ, average and max power, average and max heart rate, kind (free, ramp, rampLite, edge, workout). Dates are YYYY-MM-DD in the rider's local time, both inclusive. limit: 1-500, default 50. Ids follow the order the app synced the rides, not the ride dates.
Parameterslimitto_datefrom_date
One ride's full summary as the app computed it: stats (incl. normalized power), laps, power curve, power zones, left/right balance, heart rate, DFA-alpha1 per minute (experimental), the workout ridden and the FTP used.
Parametersidrequired
A ride's second-by-second data averaged down to resolution_s (default 30; at most 720 points, so long rides get a coarser resolution). fields from: power, target, hr, cadence, right_pct, speed, distance, step. Default: power, hr, cadence. t_s is the start of each interval in recorded seconds.
Parametersidrequiredfieldsresolution_s
Best average power per duration (5 s to 60 min) over a period, with the ride each best came from. Dates YYYY-MM-DD, inclusive; both optional (default: all rides).
Parametersto_datefrom_date
Per week (Monday-Sunday) for the last `weeks` weeks (default 8, max 104): rides, hours, kJ and seconds per power zone (Coggan 1-7, by each ride's FTP).
Parametersweeks
Every workout set as text: the rider's own (read-only for you) and each assistant's, with who wrote it. The workout format is in save_workout's description.
Takes no parameters.