Spurrya / Calfit

3 stars 1 forks source link

Google Fit integration to know activity of a user #19

Open bhaanu77 opened 8 years ago

bhaanu77 commented 8 years ago

Google Fit, the health data storage platform of Google provides APIs to allow retrieve and update fitness data (e.g. number of steps by a user).

Prioritized implementation plan: 1) Retrieve activity (e.g. number of steps from walking) of an user using Google Fit REST API using code on NodeJS server 2) Store data to MongoDB through Mongoose 3) Periodically retrieve activity data every 5 minutes for one user 4) Periodically retrieve activity data every 5 minutes for All office365 users

Note: The google id for user is initially hardcoded, but once we get it working, we can ask it from the user in the chrome extension, when user installs the chrome extension.

Overview https://developers.google.com/fit/rest/ Rest API documentation https://developers.google.com/fit/rest/v1/get-started @Spurrya Since we have doubts of getting the Skype for Business working and that this API looks very easy, it might be good idea for one of your friends t work on this. This might be higher priority than outlook add-in or Skype for business integration.

The functionality of (1) showing buttons in chrome push notifications would be higher priority than anything else (2) suggesting other employees to join the workout break accepted by some other employee might be at same level of priority of this one. So I leave it to you to decide whether you would assign this or number 2 to one of your friends as higher priority.