Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 676 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 676 Bytes

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())