File tree Expand file tree Collapse file tree 1 file changed +42
-1
lines changed
Expand file tree Collapse file tree 1 file changed +42
-1
lines changed Original file line number Diff line number Diff line change 1- # pymyq
1+ # Introduction
2+
3+ This is a python module aiming to interact with the Chamberlain MyQ API.
4+
5+ Code is licensed under the MIT license.
6+
7+ Getting Started
8+ ===============
9+
10+ # Usage
11+
12+ ``` python
13+ from pymyq import MyQAPI as pymyq
14+
15+ myq = pymyq(username, password, brand)
16+ ```
17+
18+ # Methods
19+
20+ def is_supported_brand(self):
21+ """Return true/false based on supported brands list and input."""
22+
23+ def is_login_valid(self):
24+ """Return true/false based on successful authentication."""
25+
26+ def get_devices(self):
27+ """Return devices from API"""
28+
29+ def get_garage_doors(self):
30+ """Parse devices data and extract garage doors. Return garage doors."""
31+
32+ def get_status(self, device_id):
33+ """Return current door status(open/closed)"""
34+
35+ def close_device(self, device_id):
36+ """Send request to close the door."""
37+
38+ def open_device(self, device_id):
39+ """Send request to open the door."""
40+
41+ def set_state(self, device_id, state):
42+ """Send request for request door state change."""
You can’t perform that action at this time.
0 commit comments