08-09-2019 20:52
08-09-2019 20:52
I've been trying to build a python script that will connect to my own fitbit account and extract information.
I set up an app, have tried fitbit and python-fitbit, and even took a few stabs at urllib and python-requests...
but it seems that Im always blocked by the 'consent' piece of this process...
can i bypass this? Im not in a web browser...
basically.. i want a self contained script that returns some sort of authed feature JSON.
Answered! Go to the Best Answer.
08-09-2019 21:25
08-09-2019 21:25
... i found a workaround.
Im executing python from SQL. Yep.. SQL is executing dynamically generated python...
I had to use jupyter notebook to run my script initially with a year expiry just so sql would get the appropriate auth/refresh, and saved those to a file.. now im good.
08-09-2019 21:25
08-09-2019 21:25
... i found a workaround.
Im executing python from SQL. Yep.. SQL is executing dynamically generated python...
I had to use jupyter notebook to run my script initially with a year expiry just so sql would get the appropriate auth/refresh, and saved those to a file.. now im good.