python-withings
Withings API Python Client Implementation
Requirements
python-dateutil: https://pypi.org/project/python-dateutil/1.4/requests-oauthlib: https://pypi.python.org/pypi/requests-oauthlib
Usage
from withings import Withings
from withings import WithingsAUTH
# If first time authorizing user
with_auth = WithingsAUTH('developer client id',
'developer callback url')
auth_code = with_auth.authorize("user email address",
"user password")
# Pass in authorization code to use API
withings = Withings('developer client id',
'developer client secret',
'developer callback url',
auth_code=auth_code)
# Start making calls
sleep = withings.get_sleep_detail_data(
last_update_date=datetime(year=2021, month=5, day=18))
Metadata
Release files for python-withings 1.0.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_withings-1.0.31-py3-none-any.whl | Python 3 | none | any | Details |
Release files / python_withings-1.0.31-py3-none-any.whl
| Download URL | python_withings-1.0.31-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63f5f3f68f28eccc3af6bbd947c6f4ada3a8a7a86200f69cf7a107d3591706ad
|
|
BLAKE2b-256 checksum How to use checksums |
145ca763e149c26edf1ad7e319779fca80e541bf0a69224d0382b7bf5f468115
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|