How to convert Strava zone data to something familiar

北战南征 提交于 2021-01-29 11:25:16

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!