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.1.tar.gz
(12.3 kB
view hashes)
Built Distribution
Close
Hashes for letsrobot_unofficial-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 767db77282189e7fa41488804403be7376337755daae9ffe03a3a34cc02fb467 |
|
MD5 | 5e6a62947fb43f70e0c7e8ea33392d7e |
|
BLAKE2b-256 | 8209ed17b615b011e12928c0710a3eba2243372232b8c3e6925865cb51966797 |
Close
Hashes for letsrobot_unofficial-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e840e2df2f3e366b7241f2714e2e9298c0055c71b9cebc642f496dfdd9bd528 |
|
MD5 | 95de031f9f5efe9cdc67e62c6ee1ed37 |
|
BLAKE2b-256 | f106e5a2fef8efa2c30729865e73f63030f98312d851770a440d8552e4803809 |