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

x/oura_api/mod.ts>Oura#getSleepDocuments

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

Retrieves sleep documents for a specified date range.

Parameters

startDate: DateFormat
  • Start date of the period in string format (e.g., 'YYYY-MM-DD').
endDate: DateFormat
  • End date of the period in string format (e.g., 'YYYY-MM-DD').

Returns

A SleepDocuments typed object.