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
1 answer

How to get step count with GoogleFit Api Sensor Manager

I am trying to geth step count and heart rpm from the Google Fit Api. I am aware that the getHistoryClient and getSensorClient are deprecated. Please how can I replace this methods with the Sensor Manager. I do not seem to undersatnd the…
Darotudeen
  • 1,914
  • 4
  • 21
  • 36
0
votes
1 answer

Google Fit REST API and Unity

I have a game developed for me in Unity. The game pulls steps, blood pressure and glucose data. So far my developer have been able to pull health data from Apple Health Kit, but they are stuck with Google Fit. Does the Google Fit REST API work with…
0
votes
1 answer

The Google Fit button in your YouTube link is not compliant with the Google fit branding guidelines

Google says that login button is wrong. "Sign-in Branding The Google Fit button in your YouTube link is not compliant with the Google fit branding guidelines. Please update the button so that it complies with the Google Fit branding…
Waltari
  • 1,052
  • 1
  • 30
  • 64
0
votes
1 answer

Google fit API script needs constant authorisation when trying to run automatically & how to extract additional info

I have a script that exports data from the Google Fit API to Google Spreadsheets. The script was found here - https://ithoughthecamewithyou.com/post/export-google-fit-daily-steps-to-a-google-sheet and works. When I run the script daily manually, it…
nobetterdan
  • 189
  • 1
  • 1
  • 10
0
votes
0 answers

Delay in getting Google Fit API Response

I am using GoogleFit API to fetch the data I have added in the Gooogle Fit app, but it takes around 30 mins or so to get that data reflected in the API response. API: https://www.googleapis.com/fitness/v1/users/me/dataset:aggregate Request Body { …
Sanjay Naik
  • 264
  • 1
  • 4
  • 23
0
votes
0 answers

How to set the value of a custom DataType Field in Google FIT API?

I am trying to create a custom DataType similar to Google docs. https://developers.google.com/fit/datatypes/custom I can successfully create the DataType and a Field, yet not set it's value. Here is the code. public void writeCustomDatatype()…
0
votes
0 answers

Writing Calorie data to Google Fit using Flutter GoogleFitAPI

Is there a way for Writing Calorie data to Google Fit using Flutter GoogleFitAPI
0
votes
0 answers

Google Fit Recording API not recording my Samsung Galaxy 4 Steps

I have connected my Samsung Galaxy Watch 4 to my phone, and created an app for my phone to trigger the Google Recording API from my phone, but it is not reading any steps data when I call Google History API, is the data delay or the watch actually…
Joe
  • 1
  • 1
0
votes
1 answer

Google Fit Integration Issue Android

I am having issues with Google Fit Integration . I did see it working and now somehow , it doesnt seem to be working . Verified the Client Id and Client Secret and still issue persists. Did any of you see issue similar to this. The issue comes up…
0
votes
0 answers

Why GoogleFit is not syncing steps data?

I am a developer working on integrating Google Fit with a smart wearable companion app.I am exporting steps data to google fit app.It works most of the time, but randomly sometimes it doesn't work.All hourly data has been dumped into DataSet class…
0
votes
0 answers

Cannot modify data of type com.google.hydration

I need to synchronize the amount of water drank, after reading the documentation, I'm trying to make a request to create a new Data Source: POST /fitness/v1/users/me/dataSources HTTP/1.1 Host: www.googleapis.com Content-length: 342 Content-type:…
0
votes
1 answer

REST API 400 Bad Request for Aggregated Activity Segments on Empty Data

We’re requesting activity data aggregated by segments for our users via REST interface. But for some users (not all), retrieving this data fails with a 400 Bad Request despite sharing the same request format. An example request JSON to aggregate by…
Thryve
  • 13
  • 4
0
votes
1 answer

can we get exact timing of google fit midnight reset?

i want to know limitations of google fit API (Midnight reseting issue) i want to develop android app which is include same as google fit using google fit's API it is possible? I want details about Google Fit, When Day is changed(How it will manage)
0
votes
1 answer

React Native - Activity Recognition Permission Request in XML, still request permissions

Im using Google fit to track user steps with react-native-google-fit. After getting user permission to track Activity and Body im getting an error that I need to request permission from user of Activity Recognition. This is the xml I added (also…
0
votes
1 answer

How can I query Google Fit data on Xamarin Forms or Xamarin IOS

How can I query Google Fit data on Xamarin Forms or Xamarin IOS. My goal is to query the steps taken.