Skip to main content

Built and signed on GitHub Actions

Project to interact with v2 of the Oura Ring API

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
6 days ago (1.0.1)
class Oura
extends OuraBase

Base class for the Oura API. Class containing all the methods to access the Oura API with a personal access token.

Constructors

new
Oura(options: string | ApiOptionsAccessToken)

Creates a new Oura API client.

Methods

protected
fetchData(
endpoint: string,
params?: Record<string, string>,
): Promise<unknown>

Fetches data from the Oura API using the stored personal access token.

Add Package

deno add jsr:@pinta365/oura-api

Import symbol

import { Oura } from "@pinta365/oura-api";

---- OR ----

Import directly with a jsr specifier

import { Oura } from "jsr:@pinta365/oura-api";

Add Package

npx jsr add @pinta365/oura-api

Import symbol

import { Oura } from "@pinta365/oura-api";

Add Package

yarn dlx jsr add @pinta365/oura-api

Import symbol

import { Oura } from "@pinta365/oura-api";

Add Package

pnpm dlx jsr add @pinta365/oura-api

Import symbol

import { Oura } from "@pinta365/oura-api";

Add Package

bunx jsr add @pinta365/oura-api

Import symbol

import { Oura } from "@pinta365/oura-api";