Git Product home page Git Product logo

natural-language-processor's Introduction

๐Ÿƒโ€โ™‚๏ธ Exercise Tracker Application using NLP and Sheety APIs

Python-based tool that leverages NLP and Sheety APIs to help users log their physical activities and monitor their fitness progress. With this application, users can seamlessly track their exercises, calculate calories burned, and store their activity data in a structured format.

โญ Key Features:

NLP Integration:

  • ๐Ÿ”— Utilizes a Natural Language Processing (NLP) API to interpret and analyze exercise descriptions.
  • ๐Ÿ“Š Automatically calculates the calories burned based on the type and duration of the exercise.

Customizable Tracking:

  • โš™๏ธ Users can log various exercises with different types, durations, and intensities.
  • ๐ŸŽฏ Flexibility to input any form of physical activity and get structured data in return.

Automated Data Logging:

  • ๐Ÿ—“๏ธ Logs exercise details including duration, calories burned, date, and time to a Google Sheet using the Sheety API.
  • ๐Ÿ”„ Automatic updates ensure all exercise data is recorded in real-time.

Performance Analysis:

  • ๐Ÿ“Š Provides detailed records of exercises, enabling users to analyze their physical activity trends over time.
  • ๐Ÿ” Offers insights into exercise frequency, calorie expenditure, and overall fitness progress.

๐Ÿš€ How It Works:

Setup:

  • ๐Ÿ› ๏ธ Install necessary Python packages (requests for API interactions).
  • ๐Ÿ”‘ Set up your NLP and Sheety API configurations.

Configuration:

  • โš™๏ธ Define your personal details (gender, weight, height, age) and API keys in the config.py file.
  • ๐Ÿ“ˆ Configure Sheety to connect your Google Sheet for data logging.

Daily Tracking:

  • ๐Ÿ“… Log daily exercises by entering the type and duration of the activity.
  • ๐Ÿ”„ The application processes this input using the NLP API and sends the data to Sheety, updating the Google Sheet.

Visualization:

  • ๐Ÿ‘€ View your logged exercise data in the connected Google Sheet.
  • ๐Ÿ“Š Analyze performance trends and statistics using the visual insights provided by the Google Sheet graphs.

๐Ÿ Getting Started:

Installation:

  1. โฌ‡๏ธ Clone the repository and navigate to the project directory.
    git clone https://github.com/yourusername/exercise-tracker.git
    cd exercise-tracker
  2. ๐Ÿ“ฆ Install the required dependencies:
    pip install requests

Configuration:

  1. ๐Ÿ”‘ Set up your API keys and personal details in config.py:
    BASE_URL = "https://api.your_nlp_api.com"
    NATURAL_LANGUAGE_ENDPOINT = "/v2/natural_language_processing/exercise"
    URL = "https://api.sheety.co/your_project/sheet"
    APP_ID = "your_app_id"
    API_KEY = "your_api_key"
    GENDER = "your_gender"
    WEIGHT_KG = your_weight_in_kg
    HEIGHT_CM = your_height_in_cm
    AGE = your_age

Usage:

  1. ๐Ÿ“ Run the application:
    python main.py
  2. ๐Ÿƒโ€โ™‚๏ธ Enter your exercise details when prompted:
    What exercise have you completed?
    

Contributing

Contributions are welcome! Please create an issue or submit a pull request for any improvements or bug fixes.

Contact

For any questions or inquiries, please contact [[email protected]].

natural-language-processor's People

Contributors

cjhester1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.