Metadata-Version: 2.1
Name: withings-api
Version: 2.0.0b7
Summary: Library for the Withings API
Home-page: https://github.com/vangorra/python_withings_api
Author: Robbie Van Gorkom
Author-email: robbie.van.gorkom@protonmail.com
License: MIT License
Description: # Python library for the Withings Health API
        
        [![Build Status](https://travis-ci.org/vangorra/python_withings_api.svg?branch=master)](https://travis-ci.org/vangorra/python_withings_api) 
        [![Maintainability](https://api.codeclimate.com/v1/badges/36983f024cf45aab80ba/maintainability)](https://codeclimate.com/github/vangorra/python_withings_api/maintainability)
        [![Test Coverage](https://api.codeclimate.com/v1/badges/36983f024cf45aab80ba/test_coverage)](https://codeclimate.com/github/vangorra/python_withings_api/test_coverage)
        
        Withings Health API
        <https://developer.withings.com/oauth2/>
        
        Uses OAuth 2.0 to authenticate. You need to obtain a client id
        and consumer secret from Withings by creating an application
        here: <http://developer.withings.com/oauth2/>
        
        **Installation:**
        
            pip install withings_api
        
        **Usage:**
        
        ``` python
        from withings_api import WithingsAuth, WithingsApi
        from settings_api import CLIENT_ID, CONSUMER_SECRET, CALLBACK_URI
        
        auth = WithingsAuth(CLIENT_ID, CONSUMER_SECRET, callback_uri=CALLBACK_URI)
        authorize_url = auth.get_authorize_url()
        print("Go to %s allow the app and copy the url you are redirected to." % authorize_url)
        authorization_response = raw_input('Please enter your full authorization response url: ')
        creds = auth.get_credentials(authorization_response)
        
        client = WithingsApi(creds)
        measures = client.get_measures(limit=1)
        print("Your last measured weight: %skg" % measures[0].weight)
        
        creds = client.get_credentials()
        ```
        
Keywords: withings api
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Description-Content-Type: text/markdown
