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 Distribution
python-withings-1.0.2.tar.gz
(12.3 kB
view details)
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.2.tar.gz.
File metadata
- Download URL: python-withings-1.0.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- 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 |
de03a07363c20f320540ce34c7768c65410cabe64d4f02a7f91d267603107c9d
|
|
| MD5 |
a216e102b6f143f278427b9e4abd6a12
|
|
| BLAKE2b-256 |
0316cf0d9d195f46cbbc606e9c0f6ac08b14f44c2c08bb1386c2b5925f5aed11
|
File details
Details for the file python_withings-1.0.2-py3-none-any.whl.
File metadata
- Download URL: python_withings-1.0.2-py3-none-any.whl
- Upload date:
- Size: 14.7 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 |
bb9b51daa43143dbaeed881fbd9fea786ec14eaa456fc91c9b43e4969ef60c33
|
|
| MD5 |
1fc78cfe737db088a5318602f107b397
|
|
| BLAKE2b-256 |
4ef7e2e10dfe82e70517501f5af1a08e20222bc92dc7d0be895df03a4eb5b3f0
|