Snippets

Steven Santa Maria Activity Summaries

Created by Steven Santa Maria last modified
// Fitbit
{
    "calories": 1393,
    "createdAt": "2019-07-30T21:43:04.299Z",
    "date": "2019-07-28",
    "distance": 2110,
    "duration": 1380,
    "humanId": "027be8bd6cbc14685299f844c91b21b4",
    "id": "5d40b9e8834ed701003b7de0",
    "light": 42,
    "moderate": 17,
    "sedentary": 1375,
    "source": "fitbit",
    "sourceData": {
        "activityCalories": 223,
        "caloriesBMR": 1221,
        "tracker": {
            "calories": "1393",
            "distance": 2110,
            "elevation": 6.1,
            "floors": 2,
            "steps": "3119"
        }
    },
    "steps": 3119,
    "updatedAt": "2019-07-30T21:43:04.299Z",
    "userId": "5d40b96b28808a7f507365cf",
    "vigorous": 6
}

// Garmin
{
    "calories": 415,
    "createdAt": "2019-07-26T19:45:03.769Z",
    "date": "2019-07-26",
    "distance": 8026,
    "duration": 12179,
    "humanId": "4fb5c8156b94b26ae693a6cc32f1db1f",
    "id": "5d3b583f2286da0100cf9d15",
    "light": 231.98333333333332,
    "moderate": 31,
    "sedentary": 1237.0166666666667,
    "source": "garmin",
    "sourceData": {
        "activityStressDurationInSeconds": 21960,
        "activityType": "WALKING",
        "averageHeartRateInBeatsPerMinute": 72,
        "averageStressLevel": 37,
        "durationInSeconds": 86400,
        "floorsClimbed": 6,
        "floorsClimbedGoal": 10,
        "highStressDurationInSeconds": 2460,
        "intensityDurationGoalInSeconds": 9000,
        "lowStressDurationInSeconds": 7140,
        "maxHeartRateInBeatsPerMinute": 134,
        "maxStressLevel": 91,
        "mediumStressDurationInSeconds": 17100,
        "minHeartRateInBeatsPerMinute": 52,
        "netKilocaloriesGoal": 1700,
        "restStressDurationInSeconds": 32280,
        "stepsGoal": 10000,
        "stressDurationInSeconds": 26700,
        "stressQualifier": "balanced"
    },
    "steps": 11277,
    "updatedAt": "2019-07-27T07:03:59.699Z",
    "userId": "5d24b349d5c299e873f33f17",
    "vigorous": 2
}

// Withings
{
    "calories": 299.875,
    "createdAt": "2019-07-29T00:01:54.709Z",
    "date": "2019-07-27",
    "distance": 8409.747,
    "duration": 18180,
    "humanId": "d9cc289673ceef050f20a2f851d1adb6",
    "id": "5d3e377230c7100100eb4045",
    "light": 259,
    "moderate": 44,
    "sedentary": 0, // not available, always 0
    "source": "withings",
    "sourceData": {},
    "steps": 11264,
    "updatedAt": "2019-07-29T00:01:54.709Z",
    "userId": "5882a1dc8d40090100439444",
    "vigorous": 0 // not available, always 0
}

// Runkeeper
{
    "calories": 92,
    "createdAt": "2017-07-09T15:02:21.516Z",
    "date": "2017-07-09",
    "distance": 1407,
    "duration": 1121,
    "humanId": "120abb1f6d08ea64b62fe4f2622a2393",
    "id": "5962457d508b9609005ddd7f",
    "light": 0, // not available, always 0
    "moderate": 0, // not available, always 0
    "sedentary": 0, // not available, always 0
    "source": "runkeeper",
    "sourceData": {},
    "steps": 0, // not available, always 0
    "updatedAt": "2017-07-09T15:02:21.516Z",
    "userId": "52759adc8669655e51002f47",
    "vigorous": 0 // not available, always 0
}

// MyFitnessPal
{
    "calories": 16857,
    "createdAt": "2019-06-09T00:20:05.270Z",
    "date": "2019-06-09",
    "distance": 0, // not available, always 0
    "duration": 0, // not available, always 0
    "humanId": "25a36360320c20eabad365c364cce143",
    "id": "5cfc50b5da7f690100720f0d",
    "light": 0, // not available, always 0
    "moderate": 0, // not available, always 0
    "sedentary": 0, // not available, always 0
    "source": "myfitnesspal",
    "sourceData": {},
    "steps": 12514,
    "updatedAt": "2019-06-09T12:20:08.365Z",
    "userId": "546d3f76ec875a546dadcf5a",
    "vigorous": 0 // not available, always 0
}

// Google Fit
{
    "calories": 1997.58,
    "createdAt": "2019-05-25T10:54:38.509Z",
    "date": "2019-05-25",
    "distance": 4273.19,
    "duration": 0, // not available, always 0
    "humanId": "063244b514c120e0489a7e6b08990233",
    "id": "5ce91eedd929920100646daa",
    "light": 0, // not available, always 0 // not available, always 0
    "moderate": 0, // not available, always 0
    "sedentary": 0, // not available, always 0
    "source": "googlefit",
    "sourceData": {},
    "steps": 8298,
    "updatedAt": "2019-05-28T02:54:44.096Z",
    "userId": "54ff73fe9c06e0010025b238",
    "vigorous": 0 // not available, always 0
}

// MapMyFitness
{
    "calories": 475,
    "createdAt": "2019-07-25T03:28:06.346Z",
    "date": "2019-07-24",
    "distance": 16155,
    "duration": 5952,
    "humanId": "706fdfe110212b0fc65f3c114e15f538",
    "id": "5d3921c66741360100f9bb3f",
    "light": 0, // not available, always 0
    "moderate": 0, // not available, always 0
    "sedentary": 0, // not available, always 0
    "source": "mapmyfitness",
    "sourceData": {},
    "steps": 8329,
    "updatedAt": "2019-07-25T03:28:06.346Z",
    "userId": "598ee1d9d8a28b01007788f8",
    "vigorous": 0 // not available, always 0
}

// Strava
{
    "calories": 0, // not available, always 0
    "createdAt": "2018-08-24T01:43:23.368Z",
    "date": "2018-08-18",
    "distance": 5192,
    "duration": 2163,
    "humanId": "eba774a339473e34c778a3699411493f",
    "id": "5b7f62bb680aea0100293ff6",
    "light": 0, // not available, always 0
    "moderate": 0, // not available, always 0
    "sedentary": 0, // not available, always 0
    "source": "strava",
    "sourceData": {},
    "steps": 0, // not available, always 0
    "updatedAt": "2018-08-24T01:43:23.368Z",
    "userId": "5b185af6923f4317ce3a4898",
    "vigorous": 0 // not available, always 0
}

// Healthkit
{
    "calories": 439,
    "createdAt": "2020-09-07T13:35:49.032Z",
    "date": "2020-09-07",
    "distance": 5121.941,
    "duration": 0, // not available, always 0
    "humanId": "a7d1730822df878d6297a564b957a502",
    "id": "5fz6373460618b10bf97c509",
    "light": 0, // not available, always 0
    "moderate": 0, // not available, always 0
    "sedentary": 0, // not available, always 0
    "source": "5541a9678e7192cb4fb34fed",
    "sourceData": {},
    "steps": 6889,
    "updatedAt": "2020-09-08T12:09:35.395Z",
    "userId": "5e12z71b5a800f7cf6373aef",
    "vigorous": 0 // not available, always 0
}

// iHealth
{
    "calories": 1502,
    "createdAt": "2021-08-27T21:27:38.225Z",
    "date": "2021-08-25",
    "distance": 1169.5500000000002,
    "duration": 0,  // not available, always 0
    "humanId": "18cb16e5030345b6d14ed596b10d9172",
    "id": "612958ca79cdccafff858449",
    "light": 0, // not available, always 0
    "moderate": 0, // not available, always 0
    "sedentary": 0, // not available, always 0
    "source": "ihealth",
    "sourceData": {},
    "steps": 1695,
    "updatedAt": "2021-08-27T21:27:38.225Z",
    "userId": "5b21ae9e0c840184b088a06d",
    "vigorous": 0 // not available, always 0
}

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.