-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
There is no documentation on the JSON structure of workouts V2.
Describe the solution you'd like
Add documentation for workouts V2, as the structure has greatly changed from V1.
Describe alternatives you've considered
I tried to figure it out myself, with 95% success, but I am at a point where I'm unsure about the units used in the "route" objects.
Additional context
The workout V2 route objects have much more information than the V1:
data.workouts.0.route.0 (V1):
{
"timestamp": "<redacted timestamp>",
"altitude": <redacted float>,
"lon": <redacted float>,
"lat": <redacted float>
}
data.workouts.0.route.0 (V2):
{
"speed": 0.03661782294511795,
"latitude": <redacted float>,
"timestamp": "<redacted timestamp>",
"longitude": <redacted float>,
"speedAccuracy": 0.5454300045967102,
"verticalAccuracy": 4.9169816970825195,
"altitude": <redacted float>,
"course": 41.44723129272461,
"courseAccuracy": 853.4324340820312,
"horizontalAccuracy": 6.693994045257568
}
Some values are self descriptive (latitude and longitude are in degrees, I figured altitude was in meters, but I am unsure about course and speed, as well as the *Accuracy.
Device Information
- iOS:
- Device: iPhone 11
- OS: iOS 8.5 (22F76)
- App Version: 8.2.14
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request