Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Library to control webOS based LG Tv devices

Project description

pylgtv

Library to control webOS based LG Tv devices

Requirements

  • Python >= 3.3

Install

pip install pylgtv

Example

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pylgtv, version 0.1.9
Filename, size File type Python version Upload date Hashes
Filename, size pylgtv-0.1.9-py3-none-any.whl (6.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pylgtv-0.1.9.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page