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

x/oura_api/src/OuraBase.ts>SleepTime

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

Represents Oura's recommendation about optimal bedtime for a given day.

Properties

id: string

Unique identifier

day: string

Corresponding day for the sleep time

optimal_bedtime: { day_tz: number; end_offset: number; start_offset: number; }

Optimal bedtime

recommendation: string

Recommended action for bedtime

status: string

Sleep time status; used to inform sleep time recommendation