How to use:
- Install
node
and runnpm install
. - Find your Fitbit auth bearer token. You can go to Fitbit Dashboard, open developer tools, examine any request going to Fitbit API, and find the bearer token in request headers.
- Create a
config.js
file and populate it:export const AFTER_DATE = "2022-10-01"; export const ACTIVITIES_DOWNLOAD_DIR = "./activities"; export const FITBIT_BEARER_TOKEN = "..."
- Start the export with
npm run start
. UseAPIFY_LOG_LEVEL=DEBUG
for more detailed logs.