{"id":23105917,"url":"https://github.com/lswiderski/bodycomposition-webapi","last_synced_at":"2025-08-16T16:33:33.542Z","repository":{"id":149976155,"uuid":"456222428","full_name":"lswiderski/bodycomposition-webapi","owner":"lswiderski","description":"restful webapi for garmin connect body compositon import","archived":false,"fork":false,"pushed_at":"2023-10-19T19:09:14.000Z","size":67,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-20T00:28:21.376Z","etag":null,"topics":["cloud","garmin","garmin-api","garmin-connect","golang","serverless"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lswiderski.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,"governance":null}},"created_at":"2022-02-06T17:33:43.000Z","updated_at":"2023-06-10T09:02:08.000Z","dependencies_parsed_at":"2023-10-19T22:32:01.818Z","dependency_job_id":null,"html_url":"https://github.com/lswiderski/bodycomposition-webapi","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lswiderski%2Fbodycomposition-webapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lswiderski%2Fbodycomposition-webapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lswiderski%2Fbodycomposition-webapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lswiderski%2Fbodycomposition-webapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lswiderski","download_url":"https://codeload.github.com/lswiderski/bodycomposition-webapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230046559,"owners_count":18164485,"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":["cloud","garmin","garmin-api","garmin-connect","golang","serverless"],"created_at":"2024-12-17T00:55:21.385Z","updated_at":"2024-12-17T00:55:22.076Z","avatar_url":"https://github.com/lswiderski.png","language":"Go","funding_links":["https://www.buymeacoffee.com/lukaszswiderski"],"categories":[],"sub_categories":[],"readme":"# bodycomposition-webapi\n\nBodycomposition-WebAPI is RESTful api to manage body composition data in\nGarmin Connect Cloud (https://connect.garmin.com) from Web API\n\n# OUTDATED - See a new version\n\nNew working alternative (19.10.2023) (https://github.com/lswiderski/yet-another-garmin-connect-client)\n\n## Inspiration\n\nInspired by [bodycomposition cli version](https://github.com/davidkroell/bodycomposition).\n\n## Use case\n\n- Run it in docker or Serverless function as middleware for importing values from your scale to Garmin Connect Cloud.\n\n- Used in Mobile App: https://github.com/lswiderski/mi-scale-exporter\n\n## Installation\n\n- DockerHub\n\n  ```dockerfile\n  docker pull lswiderski/bodycomposition-webapi:latest\n  ```\n\n- Source code build\n  ```dockerfile\n  docker build .\n  ```\n\n## Usage\n\n- See [api.rest](https://github.com/lswiderski/bodycomposition-webapi/blob/main/api.rest) file\n\n- Endpoint\n  ```http\n  /upload\n  ```\n- payload:\n\n  ```json\n  {\n    \"timeStamp\": -1, // -1 for Time Now, or UNIX timestamp\n    \"weight\": 67, // kg\n    \"percentFat\": 14.9, // %\n    \"percentHydration\": 58.4, // %\n    \"boneMass\": 3.3, // kg\n    \"muscleMass\": 55.1, // kg\n    \"visceralFatRating\": 7,\n    \"physiqueRating\": 5,\n    \"metabolicAge\": 25,\n    \"bodyMassIndex\": 20.8,\n    \"email\": \"{{email}}\",\n    \"password\": \"{{password}}\"\n  }\n  ```\n\n## Coffee\n\n\u003ca href=\"https://www.buymeacoffee.com/lukaszswiderski\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flswiderski%2Fbodycomposition-webapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flswiderski%2Fbodycomposition-webapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flswiderski%2Fbodycomposition-webapi/lists"}