bpred754 / augeo

Web application written with the MEAN stack that uses Natural Language Processing to classify a user's internet activity into different skills. In a nutshell, Augeo is the gamification of life.
GNU General Public License v3.0
10 stars 6 forks source link

Add Fitbit interface tests #47

Open bpred754 opened 7 years ago

bpred754 commented 7 years ago

If Fitbit were to change their API it could potentially break Augeo. These tests should verify that Augeo is receiving the correct data in the right format.

bpred754 commented 7 years ago

Currently the Fitbit API authorization code flow requires a web service. After retrieving the code there is a requirement to maintain the state of access tokens via refresh access token requests.

https://community.fitbit.com/t5/Web-API-Development/Lifetime-Access-Tokens-for-Command-Line-Tools/td-p/1141477

https://dev.fitbit.com/docs

It looks like they want to make it easier for command line tools, however it hasn't been released yet. We need to keep an eye out for these changes. As for now, let's hope they don't make any changes to the endpoints Augeo uses...