Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/TheRealLink/pylgtv

Library to control webOS based LG Tv devices
https://github.com/TheRealLink/pylgtv

Last synced: 2 months ago
JSON representation

Library to control webOS based LG Tv devices

Lists

README

        

# pylgtv
Library to control webOS based LG Tv devices

## Requirements
- Python >= 3.3

## Install
```
pip install pylgtv
```

## Example

```python
from pylgtv import WebOsClient

import sys
import logging

logging.basicConfig(stream=sys.stdout, level=logging.INFO)

try:
webos_client = WebOsClient('192.168.0.112')
#webos_client.launch_app('netflix')

for app in webos_client.get_apps():
print(app)
except:
print("Error connecting to TV")
```