0

I've linked a myfitnesspal account to google and see the dataStreamId in the datasource list but, when I build the query using the oAuth 2.0 playground in google and try to query using:

https://www.googleapis.com/fitness/v1/users/me/dataSources/raw:com.google.nutrition:com.myfitnesspal.android:food_item/datasets/1534723200000000000-1534982399000000000

I'm getting the following:

{
  "minStartTimeNs": "1534723200000000000", 
  "maxEndTimeNs": "1534982399000000000", 
  "dataSourceId": 
"raw:com.google.nutrition:com.myfitnesspal.android:food_item", 
  "point": []
}
Luke
  • 21
  • 3

1 Answers1

0

MyFitnessPal sends batch data to Google Fit, once I day as far as I know, so if you entered food items today just for testing, you won't get them until tomorrow.

Juangui Jordán
  • 6,091
  • 2
  • 35
  • 31