Snippets

Steven Santa Maria Sleep Summaries

Created by Steven Santa Maria last modified
// Fitbit
{
    "createdAt": "2019-07-29T15:29:44.944Z",
    "date": "2019-07-29",
    "humanId": "5ff8d769994ab0b07c073ecbcd37f966",
    "id": "5d3f10e869e94a0100b3d1d3",
    "source": "fitbit",
    "timeAsleep": 365,
    "timeAwake": 60,
    "updatedAt": "2019-07-29T15:29:44.944Z",
    "userId": "5d1a35c7c759936acf423c25"
}

// Garmin
{
    "createdAt": "2019-06-11T02:46:02.876Z",
    "date": "2019-06-10",
    "humanId": "574ff82050f6b044c4b0ce5d67e7f847",
    "id": "5cff15eae637130100d5726c",
    "source": "garmin",
    "timeAsleep": 297,
    "timeAwake": 6,
    "updatedAt": "2019-06-11T02:46:02.876Z",
    "userId": "56c7bafd25cedc0100996da6"
}

// Withings
{
    "createdAt": "2019-06-08T12:11:46.653Z",
    "date": "2019-06-08",
    "humanId": "2c50d4677e9b7c9278d6c60572c71fb7",
    "id": "5cfba60225834d01002af9c9",
    "source": "withings",
    "timeAsleep": 402,
    "timeAwake": 59,
    "updatedAt": "2019-06-08T20:11:46.275Z",
    "userId": "58812fd928bd660100e73479"
}

// Healthkit
{
    "createdAt": "2019-10-20T15:34:48.710Z",
    "date": "2019-10-17",
    "humanId": "b552710122sf878d6297a564k257a502",
    "id": "5dac7e983bf8c10s00544d49",
    "source": "5541a9678e7192cb4fb34fed",
    "timeAsleep": 389,
    "timeAwake": 8,
    "updatedAt": "2019-10-20T15:34:48.710Z",
    "userId": "9z16351b5a800f7cf6373agf"
}

Comments (0)

HTTPS SSH

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