问题
I'm trying to figure out how to convert the pace from the Strava API (zones). Would be nice to have it in kph or mins per km. Thanks in advance
Sample response:
{
"score": 8,
"distribution_buckets": [
{
"max": 2.612871112678786,
"min": 0,
"time": 450
},
{
"max": 3.0355414397297658,
"min": 2.612871112678786,
"time": 582
},
{
"max": 3.38136261640784,
"min": 3.0355414397297658,
"time": 579
},
{
"max": 3.6119100675265563,
"min": 3.38136261640784,
"time": 542
},
{
"max": 3.842457518645273,
"min": 3.6119100675265563,
"time": 550
},
{
"max": -1,
"min": 3.842457518645273,
"time": 366
}
],
"type": "pace",
"resource_state": 3,
"sensor_based": true
}
来源:https://stackoverflow.com/questions/64810724/how-to-convert-strava-zone-data-to-something-familiar