directv

Asynchronous Python client for DirecTV (SHEF).


Keywords
directv, api, async, client, shef
License
MIT
Install
pip install directv==0.1.0

Documentation

Python: DirecTV (SHEF) Client

Asynchronous Python client for DirecTV receivers using the SHEF protocol.

Aboout

This package allows you to monitor and control a DirecTV receiver and its associated client devices.

Installation

pip install directv

Usage

import asyncio

from directv import DIRECTV


async def main():
    """Show example of connecting to your DIRECTV receiver."""
    async with DIRECTV("192.168.1.100") as dtv:
        print(dtv)


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