Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
js Corrected error between last/new year dates Mar 16, 2017

Google Fit REST Connector

This REST connector provides access to Google Fit APIs. It stores Google Auth codes, Access and Refresh tokens in browsers cookies, you may use your own storage for these codes.

Provided functionalities:

  • Get Calorie Outcome between date range
  • Get Steps between date range
  • Get Distance between date range
  • Get Activities with duration between dates

This plugin use following libraries and frameworks:


You need to change variables in file oAuth2utils.js. You can obtain these variables by creating new API in Google Dev Console

var CLIENT_SECRET = "<Your App Client Secret>";
var CLIENT_ID = "<Your App Client ID>";
var CLIENT_REDIRECT = "<Client Redirect>";


Overview of Distance, Steps and Calories over 6 months:

Google Fit REST Connector

Last 6 month sport activities:

Google Fit REST Connector

Calendar view of specific day:

Google Fit REST Connector


This API connector is released under MIT License, however other tools and framework it uses might have different licenses.

You can’t perform that action at this time.