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:
- jQuery - used for DOM manipulations
- Chartjs - awesome tools for charts
- CookieJs - used to store Access, Refresh and Google Auth tokens
- jQuery DateTime picker - picker for date range inputs
- randomColor - for generating nice & bright graph colors
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:
Last 6 month sport activities:
Calendar view of specific day:
This API connector is released under MIT License, however other tools and framework it uses might have different licenses.