Download Fitbit data and analyze it with pySpark
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James Wheaton ad12211d11 Add installation & usage to README 4 years ago
LICENSE Initial commit 4 years ago
README.md Add installation & usage to README 4 years ago
fitbit-sleep-study.ipynb Download Fitbit data for analysis with pySpark 4 years ago
gather_keys_oauth2.py Download Fitbit data for analysis with pySpark 4 years ago
heart.txt Download Fitbit data for analysis with pySpark 4 years ago
sleep.txt Download Fitbit data for analysis with pySpark 4 years ago
start.py Download Fitbit data for analysis with pySpark 4 years ago
steps.txt Download Fitbit data for analysis with pySpark 4 years ago

README.md

fitbit-sleep-study

Download Fitbit data and analyze it with pySpark

Installation & Usage

  1. pip install CherryPy fitbit
  2. ./gather_keys_oauth2.py
  3. Copy the API keys/tokens into the start.py file as labeled
  4. Change start.py to gather the type of data you want
  5. Run python start.py > your-fitbit-data.json
  6. Upload your Fitbit JSON data to Amazon S3 or otherwise ingest it with pySpark
  7. See the fitbit-sleep-study.ipynb iPython notebook for example analysis of Fitbit sleep data
  8. Make it your own and have fun!