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

My Step Count to Text File

Hi folks,

 

Hoping someone can point me in the right direction. I have a project where I want to pull my live (or rather, recently synced) step count into a text file for use as an infographic in a live video stream. For my purposes I need it to be text only, so capturing a screen from the Fitbit website or one of my connected apps will not suffice.

 

I'm curious how simple it might be to setup a script that pulls my step count via the API every minute or so into a text file (.txt). I don't want it to store all of the intraday steps, I just want it to include only the current listed total steps for the day, and replace it every time it pulls. So whenever I open the text file, I want it to have only the most-current total step count for the day, not a series of entries for each sync/pull.

 

So here's an example:

 

10:00am text file content: "453"

10:01am text file content: "462"

01:13pm text file content: "1247"

etc.

 

 I was thinking of contecting the Fitbit development team directly with this question, but thought I would start here in case there's a very basic way to accomplish this. Thanks for all your help!

Best Answer
0 Votes
5 REPLIES 5

you can do this, but not just only text.

Build an authenticator, when your users can give you permission (and tokens...) to acces their data.
Then on the backend, you just poll the data whaever you want.

We are using this method without any problem.

Best Answer
0 Votes

Thanks @freeubi! Do you have any suggestions for where one with only a smidge of programming experience should go for resources on how to begin a personal app such as this?

Best Answer
0 Votes

pay somebody for that.

Best Answer
0 Votes

Well, my goal is to learn something new, so I guess I'll just do more research. Thanks for your help.

Best Answer
0 Votes

I would love to do the same thing only with Excel - let me know if you find anything...I would also prefer to learn. 🙂

Best Answer
0 Votes