Wrapper package for Withings API
Project description
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))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_withings-1.0.31-py3-none-any.whl.
File metadata
- Download URL: python_withings-1.0.31-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63f5f3f68f28eccc3af6bbd947c6f4ada3a8a7a86200f69cf7a107d3591706ad
|
|
| MD5 |
205ae5bdaee75b8e4dd1b1f4d91f279f
|
|
| BLAKE2b-256 |
145ca763e149c26edf1ad7e319779fca80e541bf0a69224d0382b7bf5f468115
|