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

x/oura_api/mod.ts>Oura#getHeartrate

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

Retrieves heart rate data for a specified date and time period.

Parameters

startDateTime: string
  • Start date and time of the period in string format (e.g., 'YYYY-MM-DDTHH:mm:ss').
endDateTime: string
  • End date and time of the period in string format (e.g., 'YYYY-MM-DDTHH:mm:ss').

Returns

Promise<Heartrate>

A Heartrate typed object.