Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ionic - WebAPI - Access & Sync Water statistics

Dear all,

I would like to write a very simple first Ionic app that access the Water statistics, I can see & access in the Dashboard of the Mobile or WebApp.

 

Any ideas suggestions how I can proceed?

 

Thanks and regards,

Ben

Best Answer
0 Votes
2 REPLIES 2

You can see an example of querying the Fitbit Web API from an Ionic app here: https://github.com/Fitbit/sdk-oauth

 

You'd need to adapt that to query the Food Logging API instead of the Sleep API.

https://dev.fitbit.com/build/reference/web-api/food-logging/#food-or-water-time-series

 

I hope this helps!

Best Answer

Hi Jon,

 

The web api example is a great resource but i'm having trouble with the initial registration.  There are several required fields related to websites which i don't have or need since my only intention is to use the web api to read food data on the device.  Is there any documentation available for what all of those URLs should be pointing to?

Best Answer
0 Votes