Metadata-Version: 2.4
Name: pylgtv
Version: 0.1.9
Summary: Library to control webOS based LG Tv devices
Home-page: https://github.com/TheRealLink/pylgtv
Download-URL: https://github.com/TheRealLink/pylgtv/archive/0.1.9.tar.gz
Author: Dennis Karpienski
Author-email: dennis@karpienski.de
Keywords: webos,tv
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: websockets
Requires-Dist: asyncio
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: download-url
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

# 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")
```
