This is an Ionic project aiming to demo a couple of samples to consume Google Fit REST API using JavaScript, JQuery AJAX, and AngularJS.
These samples show how to:
- Create and list data sources
- Create and obtain datasets (a set of data points)
To run the application, you need to follow the instructions given at Get Started to:
- Get a Google Account,
- Activate access to the REST API,
- Create a client ID for the OAuth Playground,
- Authorize the Fitness REST API and Obtain access tokens.
Then put your access token (OAuth token) in the 'Authorization' request header (authCode in the controllers.js).