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

College Course Exercise Log

Hello,

I teach 210 students in multiple college Kinesiology classes. They have to submit an exercise log at the end of the semester.

 

With the Web API is the following possible?

 

1. All students in each class (set as a group) or if groups not an option, add me as a friend.

2. Authorize my app to collect their data

3. Collect all students data at the end of the semester as an excel file which contains their full name along with daily exercise data.

 

If that is possible, are there any PHP examples?

 

Thanks in advance,


Tim 

Best Answer
0 Votes
2 REPLIES 2

1. I don't know about groups/friends, but it may not be necessary anyway.

2. Each student would indeed need to authorize your app. You may well need to obtain prior approval from Fitbit for your app so that it would be permitted access to other users' data.

3. The API doesn't provide Excel-compatible files, but you can convert the data to .CSV using php easily enough. My crude attempt to do so is here.

Examples are scant. The best you'll probably find are with this php FitBit oauth2 library, which I used in my site.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Thanks for your reply Catplace. I'll check into the links you referenced.

 

Tim

Best Answer
0 Votes