03-23-2016 17:33
03-23-2016 17:33
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!
03-29-2016 08:31
03-29-2016 08:31
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.
03-29-2016 09:01
03-29-2016 09:01
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?
03-29-2016 09:04
03-29-2016 09:04
pay somebody for that.
03-29-2016 10:06
03-29-2016 10:06
Well, my goal is to learn something new, so I guess I'll just do more research. Thanks for your help.
03-31-2016 14:53
03-31-2016 14:53
I would love to do the same thing only with Excel - let me know if you find anything...I would also prefer to learn. 🙂