geetsawhney / google-fit-rest

This is a sample Ionic app for using Google Fit REST API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Fit REST API Samples

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)

How To Use

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).

More Information

Ionic Framework

About

This is a sample Ionic app for using Google Fit REST API


Languages

Language:JavaScript 85.0%Language:CSS 15.0%Language:HTML 0.1%