Skip to main content

Python Wrapper for the MClimate API

How to use

pip install py-mclimate-api

python >>> from mclimate import Mclimate >>> m = Mclimate(username="email_adress", password="password") >>> m.fetch_devices() {'********': {'user_id': 1, 'serial_number': '********', 'mac': '********', 'firmware_version': 'V1SHTHF', 'name': 'Melissa ********', 'type': 'melissa', 'room_id': None, 'created': '2016-07-06 18:59:46', 'id': 1, 'online': True, 'brand_id': 1, 'controller_log': {'temp': 25.4, 'created': '2018-01-06T10:12:16.249Z', 'raw_temperature': 28188, 'humidity': 18.5, 'raw_humidity': 12862}, '_links': {'self': {'href': '/v1/controllers'}}}}

python >>> from mclimate import Mclimate >>>  m = Mclimate(username="email_adress", password="password") >>> m.send("DEVICE_ID", "DEVICE_TYPE", {"state": "on"})

Built With

License

Licensed under the MIT License - see this LICENSE.md

Release files for py-mclimate-api 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-mclimate-api 1.0.2
File Size Uploaded
py-mclimate-api-1.0.2.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-mclimate-api 1.0.2
File Interpreter ABI Platform
py_mclimate_api-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / py-mclimate-api-1.0.2.tar.gz

Download URL py-mclimate-api-1.0.2.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a043d2658fa5c41817c477857aca404ed336089ed13c8c00c095ed710db0837f
BLAKE2b-256 checksum
How to use checksums
2aad3446d03e11dda4a6ce9033bd987896c6de31f89479b67c0fab6e811ee47b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.0

Release files / py_mclimate_api-1.0.2-py3-none-any.whl

Download URL py_mclimate_api-1.0.2-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
623c7be62caeb62c403988318abdad1e954684d33e95485baba24bea07fef0d2
BLAKE2b-256 checksum
How to use checksums
c1deea21b0afa7c17797ff4a04505a86983141b9df6c056d163845b0c641f068
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page