Snippets
Created by
Steven Santa Maria
last modified
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | // Fitbit
{
"calories": 341,
"createdAt": "2019-07-30T22:48:24.514Z",
"distance": 3227.489,
"duration": 1359,
"endTime": "2016-06-21T12:44:57.000Z",
"humanId": "644d77d885c683a75bf07f4a455c5acc",
"id": "5d40c9385a89b30100c1cee3",
"source": "fitbit",
"sourceData": {
"logType": "tracker"
},
"startTime": "2016-06-21T12:22:18.000Z",
"steps": 3423,
"timeSeries": {},
"type": "run",
"tzOffset": "-04:00",
"updatedAt": "2019-07-30T22:48:24.514Z",
"userId": "5bde68687469d819c6f5d6de"
}
// Garmin
{
"calories": 263,
"createdAt": "2019-07-30T22:46:32.948Z",
"distance": 4839.04,
"duration": 1776,
"endTime": "2019-07-30T22:36:48.000Z",
"humanId": "89b9ab25e61ab4638c57ce847a530014",
"id": "5d40c8c8b4dffc01006d3623",
"source": "garmin",
"sourceData": {
"averageHeartRateInBeatsPerMinute": 158,
"averagePaceInMinutesPerKilometer": 6.118453,
"averageRunCadenceInStepsPerMinute": 89,
"averageSpeedInMetersPerSecond": 2.724,
"maxHeartRateInBeatsPerMinute": 176,
"maxPaceInMinutesPerKilometer": 5.132943,
"maxRunCadenceInStepsPerMinute": 93,
"maxSpeedInMetersPerSecond": 3.247,
"totalElevationGainInMeters": 167,
"totalElevationLossInMeters": 182
},
"startTime": "2019-07-30T22:07:12.000Z",
"steps": 5304,
"type": "run",
"tzOffset": "-04:00",
"updatedAt": "2019-07-30T22:46:32.948Z",
"userId": "5bf20368cbacae271db5a594"
}
// MyFitnessPal
{
"calories": 339,
"createdAt": "2019-07-30T22:59:41.709Z",
"distance": 0, // not available, always 0
"duration": 4080,
"endTime": "2019-07-30T12:22:00.000Z",
"humanId": "338bf87b18ca0b9b2fb5aaf4c39fd4a2",
"id": "5d40cbddda7f6901001505f1",
"source": "myfitnesspal",
"sourceData": {
"avg_heart_rate": null,
"max_heart_rate": null
},
"startTime": "2019-07-30T11:14:00.000Z",
"steps": 0, // not available, always 0
"type": "Bicycling, 10-12 mph, light (cycling, biking, bike riding)",
"tzOffset": "+00:00",
"updatedAt": "2019-07-30T22:59:41.709Z",
"userId": "5d1e18815a8242fce073cac9"
}
// Google Fit
{
"calories": 8.71,
"createdAt": "2019-07-30T17:01:33.021Z",
"distance": 16.01,
"duration": 77,
"endTime": "2019-07-30T16:33:01.485Z",
"humanId": "51d6716b41ce4295dbc6649f9c07c792",
"id": "5d4077ec0a156901006112b7",
"source": "googlefit",
"sourceData": {},
"startTime": "2019-07-30T16:31:44.054Z",
"steps": 26,
"type": "Walking",
"tzOffset": "-05:00",
"updatedAt": "2019-07-30T17:01:33.021Z",
"userId": "596bcc591346630100ea3cb8"
}
// MapMyFitness
{
"calories": 322,
"createdAt": "2019-07-29T10:10:54.210Z",
"distance": 6223,
"duration": 1964,
"endTime": "2019-07-29T10:09:28.000Z",
"humanId": "c750037157e22aca303e95b6bf1fb8ee",
"id": "5d3ec62ee2b8f401002d546b",
"source": "mapmyfitness",
"sourceData": {
"workout_description": "Ran 3.87 mi on 07/29/19"
},
"startTime": "2019-07-29T09:36:44.000Z",
"steps": 5240,
"type": "run",
"tzOffset": "-04:00",
"updatedAt": "2019-07-29T10:10:54.210Z",
"userId": "57267f7784f1550100ea08f6"
}
// Strava
{
"calories": 2607.9, // only available for certain activities like bike rides or virtual bike rides
"createdAt": "2021-03-06T15:11:16.753Z",
"distance": 96822.2,
"duration": 18642,
"endTime": "2021-03-06T15:06:01.000Z",
"humanId": "a05250377da06cb3aaa992ffe68778c9",
"id": "60439b94366d7bcbcf911744",
"source": "strava",
"sourceData": {
"average_speed": 6.165,
"average_watts": 166.1,
"kilojoules": 2607.9,
"max_speed": 12.7,
"moving_time": 15705
},
"startTime": "2021-03-06T09:55:19.000Z",
"steps": 0, // not available, always 0
"type": "bike",
"tzOffset": "+01:00",
"updatedAt": "2021-03-06T15:11:16.753Z",
"userId": "5bc5ac6d4afaa9dcead0d58a"
}
// Healthkit
{
"calories": 187,
"createdAt": "2020-09-03T19:11:36.706Z",
"distance": 3583.945,
"duration": 2534,
"endTime": "2020-09-03T18:19:29.455Z",
"humanId": "a752730822df878d6297a564b957a502",
"id": "5f513fef60618b2f90758dc7",
"source": "5541a9678e7192cb4fb34fed",
"sourceData": {
"originalSource": "com.apple.health",
"sampleType": "HKWorkoutTypeIdentifier"
},
"startTime": "2020-09-03T17:37:15.869Z",
"steps": 0, // not available, always 0
"type": "Walking",
"tzOffset": "-05:00",
"updatedAt": "2020-09-03T19:11:36.706Z",
"userId": "5e12371b5a800f7cf6373aef"
}
|
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.