Bodycomposition-WebAPI is RESTful api to manage body composition data in Garmin Connect Cloud (https://connect.garmin.com) from Web API
New working alternative (19.10.2023) (https://github.com/lswiderski/yet-another-garmin-connect-client)
Inspired by bodycomposition cli version.
-
Run it in docker or Serverless function as middleware for importing values from your scale to Garmin Connect Cloud.
-
Used in Mobile App: https://github.com/lswiderski/mi-scale-exporter
-
DockerHub
docker pull lswiderski/bodycomposition-webapi:latest
-
Source code build
docker build .
-
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}}" }