Snippets

You are viewing an old version of this snippet. View the current version.
Revised by Steven Santa Maria a2825b1
// Fitbit
{
    "createdAt": "2019-08-02T00:03:15.315Z",
    "humanId": "b14e83edd9c12478a5bbea0a9116fdeb",
    "id": "5d437dc3795e2f0100b2e950",
    "source": "fitbit",
    "sourceData": {},
    "timestamp": "2019-08-01T09:48:22.000Z",
    "tzOffset": "-05:00",
    "unit": "kg/m2",
    "updatedAt": "2019-08-02T00:03:15.315Z",
    "userId": "57670674281e2e0100849a6e",
    "value": 28.63
}

// Garmin
{
    "createdAt": "2018-05-17T21:00:21.283Z",
    "humanId": "f61171b86fcc61e44b07e58adebea61b",
    "id": "5afded65c5238a0500dd51bc",
    "source": "garmin",
    "sourceData": {
        "bodyFatInPercent": 16.21,
        "bodyWaterInPercent": 61.16,
        "boneMassInGrams": 4960,
        "muscleMassInGrams": 32459,
        "weightInGrams": 80.08
    },
    "timestamp": "2018-05-17T21:00:15.000Z",
    "tzOffset": "+10:00",
    "unit": "kg/m2",
    "updatedAt": "2018-05-17T21:00:21.283Z",
    "userId": "53ba33100fa4e00a7a28f1af",
    "value": 23.4
}

// Withings
{
    "createdAt": "2015-10-06T19:21:17.689Z",
    "humanId": "1f8cdf6bc0078c753d7081fab0963fa8",
    "id": "56141f2d4c6311070015bffd",
    "source": "withings",
    "sourceData": {},
    "timestamp": "2014-01-29T06:38:13.000Z",
    "tzOffset": "+00:00",
    "unit": "kg/m2",
    "updatedAt": "2015-10-13T21:48:09.648Z",
    "userId": "51cc7cb31a154bf215000001",
    "value": 24.88
}

// Runkeeper
{
    "createdAt": "2016-05-01T17:57:01.394Z",
    "humanId": "626222b6471d17b27f53d6ea159042de",
    "id": "5726436d0af16309003bc07b",
    "source": "runkeeper",
    "sourceData": {},
    "timestamp": "2016-02-04T00:00:00.000Z",
    "tzOffset": "+00:00",
    "unit": "kg/m2",
    "updatedAt": "2016-05-01T17:57:01.394Z",
    "userId": "5726430656e92b010070971a",
    "value": 32.9
}

// Healthkit
{
    "createdAt": "2020-08-31T10:53:55.856Z",
    "humanId": "b552710122sf878d6297a564k257a502",
    "id": "5f4cd6c3f023f95258b46c62",
    "source": "5541a9678e7192cb4fb34fed",
    "sourceData": {
        "originalSource": "com.withings.wiscaleng",
        "sampleType": "HKQuantityTypeIdentifierBodyMassIndex"
    },
    "timestamp": "2020-08-31T04:53:43.000Z",
    "tzOffset": "+02:00",
    "unit": "kg/m2",
    "updatedAt": "2020-08-31T10:53:55.856Z",
    "userId": "9z16351b5a800f7cf6373agf",
    "value": 28.5471
}
HTTPS SSH

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