Skip to content

samuelmr/oura

Repository files navigation

ŌURA Cloud API client

Build Status

Unofficial ŌURA cloud API client for node.js

Features

Usage

Install

npm install oura

Personal info

var oura = require('oura')

// assume you have already gotten an OAuth2 access token
var accessToken = 'YOUR_ACCESS_TOKEN'

var client = new oura.Client(accessToken)
client.personalInfo().then(function (user) {
  console.log(JSON.stringify(user, null, 1))
}).catch(function(error){
  console.error(error)
})

Checkout the rest of the samples