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

Hi, I want to retrive heart rate data from api, and I don...

Hi, I want to retrive heart rate data from api, and I don't understand the description of API-Get-Time-Series and API-Get-Intraday-Time-Series.

I'm using a library list on API Client Libraries called temboo, and I can't find the way to get it either.

How can I retrive heart rate data? Is it an Activity data I can get if I have an ActivityID?

 

Best Answer
0 Votes
2 REPLIES 2
  1. Register your app at https://dev.fitbit.com/apps
  2. Email your client id to api@fitbit.com to get access to intraday data for personal use.
  3. Follow the OAuth 2.0 Implicit Grant Flow to get an OAuth 2.0 access token.
  4. Make an HTTP request with the OAuth 2.0 Authorization header to https://api.fitbit.com/1/user/-/activities/heart/date/2015-07-16/1d/1sec.json to download the second-level data one day at a time.

 

Best Answer
0 Votes

Hi, I also want to get intraday heartate, and this is what I obtain by running

https://api.fitbit.com/1/user/-/activities/heart/date/2015-07-16/1d/1sec.json:

 

dataset: [{“time":"00:00:00","value":70},{"time":"00:00:05","value":69},{"time":"00:00:10","value":68}, ,{"time":"00:00:25","value":68} …. ]

 

Can you help me to intertpret this result? It means that the heartrate from 00:00:00 to 00:00:05 was 70 bpm, from 00:00:05 to 00:00:10 was 69 bpm and so on?

 

Thanks al lot!

 

Floriano

Best Answer
0 Votes