Skip to main content

Python client for the BSH Home Connect REST API

Project description

homeconnect

Simple Python client for the BSH Home Connect REST API implementing OAuth 2 authentication, REST calls, and SSE event stream parsing.

Usage example

To use this library, you have to sign up to the Home Connect Developer Portal and register a new application to get a client ID, client secret, and redirect URI.

from homeconnect import HomeConnect
hc = HomeConnect(my_clientid, my_clientsecret, my_redirecturi)
# open this URL in your web browser
print(hc.get_authurl())
# paste the resulting URL below as `auth_result` to get a token
hc.get_token(auth_result)
# list the existing appliances
hc.get_appliances()

Disclaimer

The package and its author are not affiliated with BSH or Home Connect. Use at your own risk.

License

The package is released under the MIT license.

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

homeconnect-0.7.4.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

homeconnect-0.7.4-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page