ourav2

1.0.2 • 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 ourav2

Weekly Downloads

4

Version

1.0.2

License

ISC

Unpacked Size

5.79 kB

Total Files

8

Last publish

Collaborators

  • fernandoreputable