[](https://travis-ci.org/orcasgit/python-withings) [](https://coveralls.io/r/orcasgit/python-withings?branch=master) [](https://requires.io/github/orcasgit/python-withings/requirements/?branch=requires-io-master)
Withings Body metrics Services API
<http://oauth.withings.com/api/doc>
Uses Oauth 1.0 to authentify. You need to obtain a consumer key
and consumer secret from Withings by creating an application
here: <https://oauth.withings.com/partner/add>
This is a maintained fork of the `python-withings` library, the origin version
is [here](https://github.com/maximebf/python-withings).
Installation:
pip install pywithings
Usage:
``` python
from withings import WithingsAuth, WithingsApi
from settings import CONSUMER_KEY, CONSUMER_SECRET
auth = WithingsAuth(CONSUMER_KEY, CONSUMER_SECRET)
authorize_url = auth.get_authorize_url()
print "Go to %s allow the app and copy your oauth_verifier" % authorize_url
oauth_verifier = raw_input('Please enter your oauth_verifier: ')
creds = auth.get_credentials(oauth_verifier)
client = WithingsApi(creds)
measures = client.get_measures(limit=1)
print "Your last measured weight: %skg" % measures[0].weight
```
Metadata
Release files for pywithings 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pywithings-0.4.0.tar.gz | 5.6 kB | Without provenance | Details for pywithings-0.4.0.tar.gz |
Release files / pywithings-0.4.0.tar.gz
| Download URL | pywithings-0.4.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c50c8b786646a40703409bf61e78a223102e436eac742b2bffa5fbed3fe977d8
|
|
BLAKE2b-256 checksum How to use checksums |
860c3cfabb5c5db51825d8cefe388d35c187733c2120105e73666707f1dd9337
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pywithings 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.