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.2.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

letsrobot_unofficial-0.1.2-py3-none-any.whl (11.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page