This package has been deprecated

Author message:

HealthGraph API no longer publically available

@munkyjunky/healthgraphql

0.1.0 • Public • Published

HealthGraphQL

A GraphQL wrapper around the Health Graph, to support reading and writing data.

Currently supports reading profile information & fitness activities, and reading & writing strength training activities.

Usage

var express = require('express');
var healthgraphql = require('healthgraphql');
var app = express();

app.use(healthgraphql({
	graphiql: true,
	getAccessToken: function (req) {
		// return access token here
	}
}));

app.listen(3000);

Options

graphiql - Boolean. Enable or disable the graphiql interface.
getAccessToken - Function (request). Should return the access token to use to access the Health Graph.

Package Sidebar

Install

npm i @munkyjunky/healthgraphql

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • munkyjunky