Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oura_api/src/OuraBase.ts>DailySleep

Typescript project to interact with v2 of the Oura Ring API
Latest
interface DailySleep
Re-export
import { type DailySleep } from "https://deno.land/x/oura_api@1.0.1/src/OuraBase.ts";

Holds detailed sleep metrics tracked by the Oura ring.

Properties

id: string

Unique identifier

contributors: { deep_sleep: number | null; efficiency: number | null; latency: number | null; rem_sleep: number | null; restfulness: number | null; timing: number | null; total_sleep: number | null; }

Object defining sleep score contributors

day: string

Day that the daily sleep belongs to.

score: number | null

Daily sleep score

timestamp: number

Timestamp of the daily sleep