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)
Built Distribution
Close
Hashes for letsrobot_unofficial-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78db6a2fad7fc978fca0bdfa3ac874f614cdb790855fa0844d84aaf3a6fc2004 |
|
MD5 | 76a3c7e0fc00de02925698c6a0dc8e35 |
|
BLAKE2b-256 | ea86953495c8b6df71874717e8eb2a8cc76a731f99aabf77c23e424d244681bd |
Close
Hashes for letsrobot_unofficial-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f0f2ae79a49d43a0be658eb2eac0ab5035af1e239469005d59c701176bd86e4 |
|
MD5 | ac39e37422ba7879c5b2be2f2b0d4560 |
|
BLAKE2b-256 | e9a1930cb7b516bff84d11800039ef8b66cfeaa66788f65dfef7c34dcff2f442 |