Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.
/ healthgraphql Public archive

A GraphQL wrapper around the HealthGraph API

Notifications You must be signed in to change notification settings

munkyjunky/healthgraphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HealthGraphQL

This repository is here for reference purposes only, as the HealthGraph API by RunKeeper is no longer publically available

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

Usage

var express = require('express');
var healthgraphql = require('@munkyjunky/healthgraphql');
var app = express();

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

app.listen(3000);

Options

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

About

A GraphQL wrapper around the HealthGraph API

Resources

Stars

Watchers

Forks

Packages

No packages published