Library for communicating with Ryobi Garage Door Websocket and HTTP API.
Project description
ryobigdopy
Library to interface with Ryobi GDO Websockets in Python.
Example use
import auth as a
import ryobigdo
import logging
_LOGGER = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG)
creds = {
"username": RYOBI_USERNAME, #Username from Ryobi GDO App
"password": RYOBI_PASSWORD, #Password from Ryobi GDO App
}
auth = a.Auth(creds) #Manages login, creds, and API Key
auth.login() #Checks creds and gets API Key for use in Websocket.
print(http_api.get_devices(auth)) #Choose DEVICE_ID wanted and give to RyobiGDO Obj.
DEVICE_ID = "" #From http_api.get_devices()
gdo = ryobigdo.RyobiGDO(DEVICE_ID, auth)
gdo.connect_ws()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ryobigdopy-0.0.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for ryobigdopy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f86b6ce6c9f04456056b14054c6805d6dc1f2c19871a290dfaed8f9ff31d5f7c |
|
MD5 | 020edcadbb9700b224a2cc38c2adcf98 |
|
BLAKE2b-256 | bbebf9d04b66ead9cf205a8e274c28986a4f688524ad2ed95f847405905d2d94 |