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

Backup the data of one user from Fitbit using the API

License

Notifications You must be signed in to change notification settings

mfa/fitbit-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Backup the data of one user from Fitbit using the API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages