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)
Built Distribution
Close
Hashes for letsrobot_unofficial-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 983718733cdee8d2342d163681ee110d30bdfbf4d680c52f367c9e74b34d0e48 |
|
MD5 | d02a965711125ef24e02fb58ca4fdbdb |
|
BLAKE2b-256 | 645796c3cb11aa5ee1ffabe2ffa03ccb07211609291076ba72817fbbcd7c8e91 |
Close
Hashes for letsrobot_unofficial-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cb77d96b020aaa2157badd97d0bb952d122049a1ffa98dc79088de1b45ed527 |
|
MD5 | 68dbb3d784e0aa9271a4aa7c0316c3cb |
|
BLAKE2b-256 | 1e46be6110b5028f0c697366fd6b352038f24b74cabc1d32d808c4c06277dc26 |