For the last 6 months I've been entering my weight into Google Fit, I now want to get my data out.
Accessing the Google Fit REST API hasn't been an issue. Finding my weight data amongst the all the accessible data has stumped me however.
Any pointers gratefully appreciated.
Request an OAuth 2. Go to the Google API Console. Select a project, or create a new one. Use the same project for the Android and REST versions of your app. Click Continue to enable the Fitness API.
See your weight over timeAt the bottom left, tap Home. Scroll down and tap Weight. At the top, adjust the time frame for the graph.
Connect with Google Fit. Google Fit provides Android and REST APIs to help developers build smarter health and wellness apps. Google Fit APIs can help you discover new insights users want to share with you.
I can get all weight data I found API request for all weight data https://www.googleapis.com/fitness/v1/users/me/dataSources/derived:com.google.weight:com.google.android.gms:merge_weight/datasets/0-1443194884000000000
Last set is Start time and end time (in nanoseconds). Let me know if you have issue for weight Data. May be this query will help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With