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

Google Fit App not showing path of workout uploaded using Rest API

I am trying to create a python app to upload workout data to be stored in google fit. I am trying to get the map to show the path of my run. I have uploaded a dataset using com.google.location.sample which includes lat, lon, accuracy and elevation.…
Omri Asta
  • 11
  • 3
0
votes
1 answer

Cannot create Temperature Data Source?

I'm trying to create the temperature data source via REST and it keeps on failing with: Data type does not match well-known data type with the same name The data I'm sending in is: {"application":{...Same as other working…
0
votes
0 answers

Is it possible to write activity to my Google-fit account using Python?

Context: There's this app, called, Fit as, which adds activity to your Google fit account, but it looks like it's based on real activity, such as mocking the GPS location or the device accelerometer. There's also this app, called Step Me, which also…
0
votes
0 answers

Google Fit - Getting distance from Session API

So I am was using following read request from Sessions API to get steps, distance and calories: SessionReadRequest activitySummaryRequest = new SessionReadRequest.Builder() .read(DataType.TYPE_STEP_COUNT_DELTA) …
sela
  • 314
  • 1
  • 11
0
votes
0 answers

WearOS - Fossil Gen5 Daily Steps and Heart Rate on Watch face

I'm making my own watch face but can't find any working method to get my heart rate and daily steps. Preferably I'd get those from Google Fit API, have already tried al their documentation, nothing worked so far. Does anyone have any experience with…
XDoubleU
  • 1
  • 1
  • 4
0
votes
1 answer

android.permission.ACTIVITY_RECOGNITION not getting recognized while trying to request for user permission

Google Fit is giving me the following exceptions when I try subscribing to TYPE_STEP_COUNT_CUMULATIVE (cumulative steps) and TYPE_STEP_COUNT_DELTA using the RecordingClient…
0
votes
2 answers

Issues adding sessions and information to the Google Fit REST Api using JS

So I am reasonably new to using API's with Js but I am struggling a lot to understand how the Google Fit API works. I am attempting to add a new Workout's data to the API by adding a session and some data for the intensity (heart points) of the…
0
votes
0 answers

Get .tcx data from Google Fit API

I'm trying to analyze session .tcx data from my own Google Fit profile. I can access this data using a Takeout export (https://takeout.google.com/) where I get the tcx files, but the export takes some time to process and seems to require manual…
T. Shaffner
  • 359
  • 1
  • 5
  • 22
0
votes
1 answer

Tracking total number of steps for current day using Google's FIT API

I am trying to get the total number of steps for the current day using Google's FIT API. I'm using the code snippets from https://developers.google.com/android/reference/com/google/android/gms/fitness/HistoryClient This is the particular code…
Anirudh Ganesh
  • 446
  • 4
  • 22
-2
votes
1 answer

Add to the body of the Axios POST

I am wondering how I can add this to the body of the Axios POST request. const res = axios({ method: 'post', url: 'https://fitness.googleapis.com/fitness/v1/users/me/dataset:aggregate', headers: { 'Authorization': 'Bearer…
mick1996
  • 516
  • 9
  • 31
-4
votes
0 answers

New to Google Fit API

How do I Implement google fit api on my android studio project ? I've already set up my account on google cloud, I just don't know how to implement it on my project. Many Thanks for the answers! :D Haven't tried anything yet, because I'm worried I…
yoshi
  • 1
1 2 3 4 5 6 7
8