{"id":16671420,"url":"https://github.com/jacoby/fitbit_tools","last_synced_at":"2025-06-17T05:39:46.752Z","repository":{"id":9648631,"uuid":"11583912","full_name":"jacoby/fitbit_tools","owner":"jacoby","description":"Collection of tools in Python and R that collect and make use of the FitBit API.","archived":false,"fork":false,"pushed_at":"2017-02-15T16:44:58.000Z","size":14,"stargazers_count":16,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T19:49:32.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacoby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-22T14:50:25.000Z","updated_at":"2017-02-16T08:36:41.000Z","dependencies_parsed_at":"2022-09-24T05:40:13.820Z","dependency_job_id":null,"html_url":"https://github.com/jacoby/fitbit_tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jacoby/fitbit_tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoby%2Ffitbit_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoby%2Ffitbit_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoby%2Ffitbit_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoby%2Ffitbit_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacoby","download_url":"https://codeload.github.com/jacoby/fitbit_tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoby%2Ffitbit_tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260300470,"owners_count":22988676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T11:44:25.030Z","updated_at":"2025-06-17T05:39:46.730Z","avatar_url":"https://github.com/jacoby.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"*NOTICE* This is was built before FitBit moved to OAuth 2.0 and no longer works\n=============================================================================\n\nTry other libraries, such as https://github.com/orcasgit/python-fitbit\n\nFitBit Tools\n============\n\nThese are my tools and libraries, which I use to manage and interact with\nthe FitBit API. If you wish to use them, you will have to register a new\napp and get credentials from dev.fitbit.com, which is not a difficult task.\n\n\nLibraries\n---------\n\nThese are libraries I use to deal with my FitBit data\n\n-   fitbit.py - access to the FitBit API\n-   mydb.py - store data locally so I don't abuse the API\n-   pushover.py - alerting to my phone\n-   spark.py - creating sparklines for Twitter and other social media\n\nConfiguration\n-------------\n\nI use YAML configuration files to keep from having to hardcode passwords\nand tokens into my code. These files show format only.\n\n-   fitbit.cnf\n-   my.yaml\n-   pushover.yml\n-   fitbit.txt - description of the MySQL table I use to store my FitBit data. Not valid SQL.\n\nWhen using these tools, you must create your own app on FitBit's dev site. For \n\"Application Type\", choose Desktop, and if you want to use the weight upload \nfeature (or add other upload tasks), be sure to choose Read/Write as default \naccess type. Otherwise Read-Only is acceptable.\n\nCurrently, I use FitBit's API Debug Tool (https://dev.fitbit.com/apps/oauthtutorialpage)\nto get access tokens and secrets, but I should and will create a tool that handles this.\n\nPython\n------\n\n-   fitbit.battery.py - checks current battery level and alerts if not \"high\"\n-   fitbit.date.py - full db download of FitBit data\n-   fitbit.download.py - last few days of FitBit data to configure\n-   fitbit.no_sync.py - check if my FitBit has sync'd in the last 3 days\n-   fitbit.spark.py - outputs a sparkline showing the ups and downs of my last week's steps\n-   fitbit.weight.py - uploads my weight via the FitBit API\n\nRScript\n-------\n\nI use R to generate plots of my FitBit data. I'm including two RScripts\nwhich run via crontab. My R is very remedial, and the plots could be made\nmuch prettier with ggplot2 and similar libraries.\n\n-   fb_floors_week.rs\n-   fb_steps_week.rs\n-   fitbit_heat_map.rs\n\nCopyright and License\n---------------------\n\nCopyright (c) 2013 Dave Jacoby (jacoby.david@gmail.com) and contributors\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n\n\nTRIVIAL CHANGE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoby%2Ffitbit_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacoby%2Ffitbit_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoby%2Ffitbit_tools/lists"}