Skip to content

strohganoff/python-withings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-withings

Withings API Python Client Implementation

Requirements

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))

About

Withings API Python Client Implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages