Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (27 loc) · 847 Bytes

readme.rst

File metadata and controls

45 lines (27 loc) · 847 Bytes

Backup Fitbit data via Fitbit API

Requirements

-e git+https://github.com/orcasgit/python-fitbit.git#egg=python-fitbit

Setup

  1. get an API APP key on the Fitbit site: https://dev.fitbit.com/apps/new
  2. authorize your app for your account: see python-fitbit documentation: ./fitbit/gather_keys_cli.py <con_key> <con_sec>
  3. write a credentials.py with the following content (of course insert your data)
APP_KEY = ''
APP_SECRET = ''
USER_KEY = ''
USER_SECRET = ''
  1. create directory "backup" for json-files

RUN

python backup.py

FINAL WORDS

There are lots of possibilities to improve this script and I am happy to merge pull requests. For now this script backups my data and thats what I needed.