Questions tagged [google-fit-api]

The Google Fit REST API enables you to store and access user data in the fitness store from apps on any platform.

The Google Fit REST API provides resources and methods to:

  • Create, obtain, list, and modify data sources. A data source represents a unique source of sensor data. All fitness data in the fitness store is associated with a particular data source.

  • Create, obtain, aggregate, and delete datasets. A dataset represents a set of data points from a particular data source.

  • List data points and add them to a dataset. A data point represents a sample from a particular data source.

  • Create, list, and delete sessions. A session represents a time interval with associated metadata.

116 questions
0
votes
0 answers

Google Fit API - com.google.android.gms.common.api.ApiException 5015

We are struggling to integrate Google Fit on native Android devices. We are able to authenticate the user via OAuth popup provided by capacitor-plugin-health but we run into the following error when trying to send data to Google…
0
votes
0 answers

Get burned calories from Google Fit REST API

I just want to pass the user workoout type/activity type, duration of exercise, user height, user weight and just want to get teh calories burned. How can I achieve this ? I have tried the Google API but I cannot be sussess.
user3627632
  • 19
  • 1
  • 3
0
votes
0 answers

Google Fit API Rest create data source

I'm learning how to use Google Fit API and right now I'm trying to do the examples Google offers to explore the OAuth 2.0 Playground. There's one example to create a data source whose code…
0
votes
1 answer

Unique identifier of the activity that is read from the Google Fit?

I'm trying to find a way to get the UID or such for each activity record (historical data via Fit API for Android) that I read from Google Fit. Is there any way to do it?
0
votes
1 answer

Python Skript to Read/Write Google Fit Data via REST API

I recently switch from an iOS Phone to Android. Now I have the problem that all my Apple Health data is not available on my new phone, because Google Fit only imports the 3 last days and all my history. I exported my Apple Health data to and…
0
votes
0 answers

Access multiple user's Google Fit data from server side periodically

I am trying to access steps count of all users who are resisted in my website. I have setup a cronjob every day at a fixed time. I have created a service account credintials and downloaded its json public async Task GoogleFit(string…
Adarsh s
  • 128
  • 11
0
votes
1 answer

How to get latest google fit params in one api call

I need to fetch multiple params from google fit like "Heart Rate", "Body Temperature" etc... But looks like there is no single api to fetch all of them. There is this one api called dataset aggregate, shown below, we can pass multiple params for…
0
votes
1 answer

Google Fit live data sync

I have integrated google fit with flutter and i'm getting steps count properly when my application is active but its not getting synced after closing my app. i want to run a background serivce which will sync my steps count and heart points with the…
0
votes
0 answers

Google fit elevation gain

I'm creating a server-side app using the Google Fit REST API. One of the data points I want to retrieve is the elevation gain done by the user in a session. According to Google fits documentation on location, where altitude is one of the data…
robvold
  • 9
  • 6
0
votes
0 answers

OnFailure() com.google.android.gms.common.api.ApiException: 17: API: Fitness.CLIENT is not available on this device

Getting error while Using google fit API for Fetching User's google-fit data. I have 2 modules in my project one for mobile and second one is watch-face for wear-OS.Everything is working fine in my mobile application, I am getting all the data I…
0
votes
1 answer

Unable to read "BLOOD GLUCOSE" using rest api | Google fit

I am trying to fetch my blood-glucose data using Google fit rest API and using OAuth 2.0 Playground. I've manually inserted data in the google fit app (fit app > Browse > Vitals > Blood glucose) and tried to fetch it using REST API and OAuth 2.0…
0
votes
0 answers

use Google Fit with flutter app without need to install google fit in the device

i want to use google fit data in my flutter app. there is package health but this package not working if google fit app not installed in the device.how to use google fit api instead.
0
votes
2 answers

How to fix 403 error when creating GoogleFit datasource

I am using GoogleFit Rest API to create a nutrition data source so that I can subsequently store nutrition information. I have done this successfully on Android via the GoogleFit SDK, but because no such SDK is available on iOS, I resorted to using…
0
votes
0 answers

Google Fit Health Data

We make a bluetooth device that connects to user's phones and tracks + coaches them while they brush their teeth. We would like to interact with google's Google Fit api to integrate this information into it. I didn't see any tooth brushing related…
user856232
  • 1,073
  • 2
  • 14
  • 40
0
votes
1 answer

Google Fit REST API - aggregate methods point data returns empty

I'm trying the get running distance from Google Fit using the REST API. After OAUTH2 is set, I send a GET request with Params of a specific Fit activity: GET…