0.0.9 • Published 2 years ago

@dynamic-data/fitbit-data v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

fitbit-data

Mockup datamodules for Fitbit datasources

Usage

Dataobjects:

  • ActivitiesData
  • ActivitiesDataAsync
  • ActivitiesSummary
  • ActivitiesSummaryAsync
  • HeartRateData
  • HeartRateDataAsync
  • HeartRateSummary
  • HeartRateSummaryAsync
  • SleepData
  • SleepDataAsync
  • SleepSummary
  • SleepSummaryAsync
  • SleepQuality
  • SleepQualityAsync
// CJS/Node

const {ActivitiesData,
ActivitiesDataAsync,
ActivitiesSummary,
ActivitiesSummaryAsync,
HeartRateData,
HeartRateDataAsync,
HeartRateSummary,
HeartRateSummaryAsync,
SleepData,
SleepDataAsync,
SleepQuality,
SleepQualityAsync,
SleepSummary,
SleepSummaryAsync} =require("@prifina/fitbit-data");
const FITBIT =require("@prifina/fitbit-data"); // All objects...
// ESM/React

import {ActivitiesData,
ActivitiesDataAsync,
ActivitiesSummary,
ActivitiesSummaryAsync,
HeartRateData,
HeartRateDataAsync,
HeartRateSummary,
HeartRateSummaryAsync,
SleepData,
SleepDataAsync,
SleepQuality,
SleepQualityAsync,
SleepSummary,
SleepSummaryAsync} from "@prifina/fitbit-data";
import FITBIT from "@prifina/oura-data"; // All objects...