oura

2.0.4 • Public • Published

Ō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

Package Sidebar

Install

npm i oura

Weekly Downloads

28

Version

2.0.4

License

ISC

Unpacked Size

7.06 kB

Total Files

8

Last publish

Collaborators

  • samuelmr