{ "info": { "author": "ORCAS", "author_email": "developer@orcasinc.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "# Python library for the Withings API\n\n[![Build Status](https://travis-ci.org/orcasgit/python-withings.svg?branch=master)](https://travis-ci.org/orcasgit/python-withings) [![Coverage Status](https://coveralls.io/repos/orcasgit/python-withings/badge.png?branch=master)](https://coveralls.io/r/orcasgit/python-withings?branch=master) [![Requirements Status](https://requires.io/github/orcasgit/python-withings/requirements.svg?branch=requires-io-master)](https://requires.io/github/orcasgit/python-withings/requirements/?branch=requires-io-master)\n\nWithings Body metrics Services API\n\n\nUses Oauth 1.0 to authentify. You need to obtain a consumer key\nand consumer secret from Withings by creating an application\nhere: \n\nThis is a maintained fork of the `python-withings` library, the origin version\nis [here](https://github.com/maximebf/python-withings).\n\nInstallation:\n\n pip install pywithings\n\nUsage:\n\n``` python\nfrom withings import WithingsAuth, WithingsApi\nfrom settings import CONSUMER_KEY, CONSUMER_SECRET\n\nauth = WithingsAuth(CONSUMER_KEY, CONSUMER_SECRET)\nauthorize_url = auth.get_authorize_url()\nprint \"Go to %s allow the app and copy your oauth_verifier\" % authorize_url\n\noauth_verifier = raw_input('Please enter your oauth_verifier: ')\ncreds = auth.get_credentials(oauth_verifier)\n\nclient = WithingsApi(creds)\nmeasures = client.get_measures(limit=1)\nprint \"Your last measured weight: %skg\" % measures[0].weight\n```\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/orcasgit/python-withings", "keywords": "withings", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "pywithings", "package_url": "https://pypi.org/project/pywithings/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pywithings/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/orcasgit/python-withings" }, "release_url": "https://pypi.org/project/pywithings/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "Library for the Withings API", "version": "0.4.0" }, "last_serial": 2893652, "releases": { "0.4.0": [ { "comment_text": "", "digests": { "md5": "d5b1de4540378f64b0b5396c583f616f", "sha256": "c50c8b786646a40703409bf61e78a223102e436eac742b2bffa5fbed3fe977d8" }, "downloads": -1, "filename": "pywithings-0.4.0.tar.gz", "has_sig": false, "md5_digest": "d5b1de4540378f64b0b5396c583f616f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5563, "upload_time": "2017-05-23T16:22:06", "url": "https://files.pythonhosted.org/packages/86/0c/3cfabb5c5db51825d8cefe388d35c187733c2120105e73666707f1dd9337/pywithings-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d5b1de4540378f64b0b5396c583f616f", "sha256": "c50c8b786646a40703409bf61e78a223102e436eac742b2bffa5fbed3fe977d8" }, "downloads": -1, "filename": "pywithings-0.4.0.tar.gz", "has_sig": false, "md5_digest": "d5b1de4540378f64b0b5396c583f616f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5563, "upload_time": "2017-05-23T16:22:06", "url": "https://files.pythonhosted.org/packages/86/0c/3cfabb5c5db51825d8cefe388d35c187733c2120105e73666707f1dd9337/pywithings-0.4.0.tar.gz" } ] }