Metadata-Version: 2.1
Name: py-mclimate-api
Version: 1.0.1
Summary: MClimate API Wrapper in Python
Home-page: https://github.com/Pernichev/mclimate_api_wrapper
Author: MClimate
Author-email: hi@seemelissa.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# 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

* [requests](http://docs.python-requests.org/en/master/)

## License

Licensed under the MIT License - see this [LICENSE.md](LICENSE.md)


