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

API question

We are in progress of our app development and have few questions.

 

1. How can we check each device information? How does it appear as an API?

We want to know what information we need look at to depend to distinguish individual's device.

 

2. Is it possible to distinguish data whether it is automatic/manual?

("Automatic" refers to starting exercise recording by recognizing that the divice is running automatically when you start running without pressing the button called [Run]on the device.)

 

Best Answer
0 Votes
2 REPLIES 2

We are in progress of our app development and have few questions.

 

1. How can we check each device information? How does it appear as an API?

We want to know what information we need look at to depend to distinguish individual's device.

 

2. Is it possible to distinguish data whether it is automatic/manual?

("Automatic" refers to starting exercise recording by recognizing that the device is running automatically when you start running without pressing the button called [Run]on the device.)

 

Best Answer

Hi @changhc 

 

1. You can find out which device(s) a user has paired with their account by calling the Get Devices endpoint, https://dev.fitbit.com/build/reference/web-api/devices/#get-devices.

 

2. Yes, you can determine if the exercise is automatic / manually created.   The Get Activity Log List endpoint, https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-logs-list, provides a lot of detail about the exercise.   The logType element will provide the source of the exercise.  The values you'll see are 

  • auto_detected - exercise was automatically determined using Fitbit's SmartTrack technology
  • manual - the user manually entered the exercise through the mobile app or web browser
  • mobile_run - exercise was recorded through the mobile application
  • tracker - exercise was recorded on the Fitbit device
  • [3P application name] - the exercise was recorded and uploaded by the 3P application
Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer