mjec / python-rokuecp

Asynchronous Python client for Roku (ECP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python: Roku (ECP) Client

Asynchronous Python client for Roku devices using the External Control Protocol.

About

This package allows you to monitor and control Roku devices.

Installation

pip install rokuecp

Usage

import asyncio

from rokuecp import Roku


async def main():
    """Show example of connecting to your Roku device."""
    async with Roku("192.168.1.100") as roku:
        print(roku)


if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())

About

Asynchronous Python client for Roku (ECP)

License:MIT License


Languages

Language:Python 100.0%