Skip to main content

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


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)

Uploaded source

Built Distribution

ryobigdopy-0.0.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded py3

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