Skip to main content

Library to interface with LetsRobot

Project description

LetsRobotUnofficial

LetsRobotUnoffical is a easy to use interface for connecting your robot to the letsrobot.tv website. A minimal example looks like:

from letsrobot_unofficial import LetsRobot

def chatEvent(args):
    #Handle chat events here

def controlEvent(args):
    #Handle control events here

r = LetsRobot()
r.addChatServer("robotIDHere")
r.addControlServer("robotIDHere")
r.addVideoOutput("videoIDHere")
r.addChatHandler(chatEvent)
r.addControlHandler(controlEvent)
while(True):
    r.wait()

Installation is a simple as

pip install letsrobot_unofficial

For more information including how to get a robot id and video id visit https://letsrobot.tv or for additional examples and documentation visit https://github.com/theodorechandler1/LetsRobotUnofficial

Project details


Download files

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

Source Distribution

letsrobot_unofficial-0.1.5.tar.gz (12.4 kB view hashes)

Uploaded source

Built Distribution

Supported by

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