{ "info": { "author": "Tom Flanagan", "author_email": "tom@zkpq.ca", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Healthcare Industry", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Scientific/Engineering :: Medical Science Apps.", "Topic :: Scientific/Engineering :: Visualization", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Archiving", "Topic :: Utilities" ], "description": "# MyFitbit\n\nBecause *\"Your data belongs to you!\"*\n\n...and fitbit's own data export sucks.\n\n\n## Installation\n\n\nManual:\n\n```sh\ngit clone git@github.com:Knio/myfitbit\ncd myfitbit\npython3 setup.py install\n```\n\n\n## Setup\n\n1. Register a new app at https://dev.fitbit.com/apps/new\n\nThe app should look like this:\n\nThe Callback URL must be exactly `http://localhost:8189/auth_code`\n\n![Fitbit App](docs/fitbit_app.png=271x606)\n\n\n2. Configure the API keys\n\nMake a file `config.ini` in your working directory with the client ID and secret you got from registering the fitbit app:\n\n```\n[fitbit_auth]\nclient_id = 123ABCD\nclient_secret = 0123456789abcdef0a1b2c3d4f5\n```\n\n\n2. Export your data\n\n```\npython3 -m myfitbit\n```\n\nThis will open a web browser and prompt you to allow the app to access your data.\n\nIt will then begin exporting to your current working directory.\n\nNote that the fitbit API is rate limited to 150 calls/hour, and you can query only 1 day of heartrate data at a time. If you many days of data, you will be rate limited and see an HTTP 429 error. Simply re-run the command an hour later and it will resume downloading where it left off.\n\n3. Generate report\n\n\n```\npython3 -m myfitbit.report --user 123ABC\n```\n\nUse the user id seen in the output from step 2\n\nThis will generate `report.html` in your current working directory.\n\n![Fitbit Report](docs/fitbit.png)\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/Knio/myfitbit/", "keywords": "fitbit data export json", "license": "LICENSE.txt", "maintainer": "", "maintainer_email": "", "name": "myfitbit", "package_url": "https://pypi.org/project/myfitbit/", "platform": "", "project_url": "https://pypi.org/project/myfitbit/", "project_urls": { "Homepage": "http://github.com/Knio/myfitbit/" }, "release_url": "https://pypi.org/project/myfitbit/0.5.0/", "requires_dist": null, "requires_python": "", "summary": "export fitbit data", "version": "0.5.0" }, "last_serial": 3547543, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "724a4ef1dd78580662152bf7d1cf6220", "sha256": "948f5cc6063fb5d534b0a17a3dd022cf48ecefc5f4ee51073832b640931443ff" }, "downloads": -1, "filename": "myfitbit-0.2.0.tar.gz", "has_sig": false, "md5_digest": "724a4ef1dd78580662152bf7d1cf6220", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5822, "upload_time": "2017-04-10T07:24:48", "url": "https://files.pythonhosted.org/packages/e0/3b/d7bffc68aba533c404cfea90d74394a1002b0466caae3967c6c38f30cc9b/myfitbit-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "a8b61b87cf457758bbc0c65231eacd17", "sha256": "a7b4a99c0232d2ef0390ba8635ca3ce3bf0fe50fd74b55d2865dd50d3b35044c" }, "downloads": -1, "filename": "myfitbit-0.3.0.tar.gz", "has_sig": false, "md5_digest": "a8b61b87cf457758bbc0c65231eacd17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5584, "upload_time": "2018-02-03T02:53:55", "url": "https://files.pythonhosted.org/packages/45/cb/167c852eefc225119a5f9d13d5aa45b0cadffdbce1cf813a7f5f6fe6f444/myfitbit-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "038265de332142dc2b77dc26e0b9e8e5", "sha256": "e154d27683c0337c1fc2f7121ca9edd8b6ee68df5262375d6fb39b29c79d5561" }, "downloads": -1, "filename": "myfitbit-0.3.1.tar.gz", "has_sig": false, "md5_digest": "038265de332142dc2b77dc26e0b9e8e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5573, "upload_time": "2018-02-03T02:56:05", "url": "https://files.pythonhosted.org/packages/e8/42/598b2d3710574b834bacb52703587c5919b7a0d6b1a92d8da20b98c111bd/myfitbit-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "9770f981b7f4a6d54c5a47f69914779c", "sha256": "9f2e936b74eff75f7f00979789350a494f987065298d60d5f16fbd8f5f2d9772" }, "downloads": -1, "filename": "myfitbit-0.4.0.tar.gz", "has_sig": false, "md5_digest": "9770f981b7f4a6d54c5a47f69914779c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5765, "upload_time": "2018-02-03T04:03:15", "url": "https://files.pythonhosted.org/packages/14/70/cfe2f0b65c2e7d9ba5d299e9e0c02e119ab0a7db0aea1b1f6139c62e8306/myfitbit-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "5c0c5c04a94f089cf55a8a3c1bcfec63", "sha256": "a747a9a29913dfab909b14cf90a24371223ade15488ab99a7d9128dc389015b2" }, "downloads": -1, "filename": "myfitbit-0.5.0.tar.gz", "has_sig": false, "md5_digest": "5c0c5c04a94f089cf55a8a3c1bcfec63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7974, "upload_time": "2018-02-03T05:09:38", "url": "https://files.pythonhosted.org/packages/55/bd/eda28c39fec56007b53b0c3b5371dbd1822dde739a812dddc13fb97e1fe9/myfitbit-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5c0c5c04a94f089cf55a8a3c1bcfec63", "sha256": "a747a9a29913dfab909b14cf90a24371223ade15488ab99a7d9128dc389015b2" }, "downloads": -1, "filename": "myfitbit-0.5.0.tar.gz", "has_sig": false, "md5_digest": "5c0c5c04a94f089cf55a8a3c1bcfec63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7974, "upload_time": "2018-02-03T05:09:38", "url": "https://files.pythonhosted.org/packages/55/bd/eda28c39fec56007b53b0c3b5371dbd1822dde739a812dddc13fb97e1fe9/myfitbit-0.5.0.tar.gz" } ] }