Skip to content

sagikazarmark/go-withings

Repository files navigation

Go client for the Withings API

GitHub Workflow Status Codecov Go Report Card Go Version go.dev reference built with nix

go-withings is a Go client library for accessing the Withings API.

⚠️ WARNING: This is still work in progress. ⚠️

Installation

go get github.com/sagikazarmark/go-withings

API coverage

The Withings API provides a wide range of services, but many of them are targeted at (health) service providers. The primary focus of this SDK is to provide access to the data APIs, so providing a full coverage is not a goal at this time. That being said, PRs are always welcome.

Supported API services/calls:

  • OAuth2
  • Measure (WIP)
  • Heart (WIP)
  • Sleep (WIP)
  • Notify (WIP)

Unsupported API services/calls:

  • Dropshipment
  • User
  • Signature

Feel free to open a discussion or issue if something is missing and you would like it to be included.

Development

When all coding and testing is done, please run the test suite:

make check

For the best developer experience, install Nix and direnv.

Alternatively, install Go manually or using a package manager. Install the rest of the dependencies by running make deps.