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

x/oura_api/mod.ts>Oura#getSleepTime

Deno project to interact with v2 of the Oura Ring API
Go to Latest
method Oura.prototype.getSleepTime
Re-export
import { Oura } from "https://deno.land/x/oura_api@0.4.0/mod.ts";

Retrieves a single recommended bedtime window document by its ID.

Parameters

documentId: string
  • The document ID in string format.

Returns

Promise<SleepTime>

A SleepTime typed object.