HadesFit is a Python-based application designed to streamline the integration of fitness data from Google Fit and various smartwatches into a unified fitness tracking system.
Purpose:
The primary goal of HadesFit is to provide users with a seamless way to 🔄 aggregate, 📊 analyze, and 📈 visualize their fitness data from multiple sources. By connecting with Google Fit, HadesFit can pull in data like steps 🚶, heart rate ❤️, calories burned 🔥, and sleep patterns 🛌, allowing users to see all their health metrics in one place.
Functionality:
-
Google Fit Integration:
HadesFit uses Google Fit APIs to fetch and sync data. This includes activity information such as step counts, workout sessions, and nutritional data if connected through compatible apps. Users can grant or revoke access to this data via Google Fit settings, ensuring 🔒 privacy and control. -
Smartwatch Connectivity:
Beyond Google Fit, HadesFit supports integration with smartwatches. Depending on the smartwatch model, this might require direct integration through Health Connect or third-party syncing solutions. Supported devices include those running Wear OS ⌚, as well as specific brands like Samsung, Garmin, and Polar, which have their own methods of syncing with Google Fit.
- Python 3.6 or higher installed on your system.
- A Google account for Google Fit API access.
- Clone the Repository:
git clone /~https://github.com/haybnzz/HadesFit.git cd HadesFit pip install -r requirements.txt python app.py
To use the Google Fit API with HadesFit, you need to set up a project in the Google Cloud Console. Follow the steps below to get started.
- Navigate to Google Cloud Console.
- Click on the project dropdown at the top, then click New Project.
- Name your project (e.g., HadesFit) and click Create.
- In your new project, go to APIs & Services > Dashboard.
- Click Enable APIs and Services.
- Search for
Fitness API
, select it, and click Enable.
- From the sidebar, select Credentials.
- Click Create Credentials > OAuth client ID.
- Choose Application type: Desktop app (or Other if you're not using a web server).
- Name your client ID (e.g., HadesFit Client).
- Click Create.
- Download the JSON file named something like
client_secret_XXXXX.json
. - Reaname to
credentials.json
Move the downloaded credtilasjson
into your HadesFit project folder.
Set the environment variable to point to your credentials file:
This project is licensed under the MIT License. See the LICENSE file for more details.
Unauthorized use is strictly prohibited.
📧 Email: cubedimension@protonmail.com
If you find this project helpful, consider buying us a coffee with cookies: