Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.02 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.02 KB

Ō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