Skip to content

lswiderski/bodycomposition-webapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bodycomposition-webapi

Bodycomposition-WebAPI is RESTful api to manage body composition data in Garmin Connect Cloud (https://connect.garmin.com) from Web API

OUTDATED - See a new version

New working alternative (19.10.2023) (https://github.com/lswiderski/yet-another-garmin-connect-client)

Inspiration

Inspired by bodycomposition cli version.

Use case

Installation

  • DockerHub

    docker pull lswiderski/bodycomposition-webapi:latest
  • Source code build

    docker build .

Usage

  • See api.rest file

  • Endpoint

    /upload
  • payload:

    {
      "timeStamp": -1, // -1 for Time Now, or UNIX timestamp
      "weight": 67, // kg
      "percentFat": 14.9, // %
      "percentHydration": 58.4, // %
      "boneMass": 3.3, // kg
      "muscleMass": 55.1, // kg
      "visceralFatRating": 7,
      "physiqueRating": 5,
      "metabolicAge": 25,
      "bodyMassIndex": 20.8,
      "email": "{{email}}",
      "password": "{{password}}"
    }

Coffee

Buy Me A Coffee