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.3.tar.gz
(12.3 kB
view hashes)
Built Distribution
Close
Hashes for letsrobot_unofficial-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed6e80319326ea68424f9633b337bfd11dbe807acf2fdebd543cc3b9ec98da96 |
|
MD5 | c2a2de9ec2daa28088199ea1f2ddd4f8 |
|
BLAKE2b-256 | 058b192a72762c96d70e1a4cab2c30aec7a5186b0dbfde84b04d979ea0dc2ed5 |
Close
Hashes for letsrobot_unofficial-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5718683b0b5fff301643f637fbc05de6f592426738e84b209d47f879e6b0775 |
|
MD5 | 75be7b7b3f56a49605c4c473c5a08903 |
|
BLAKE2b-256 | 74a29d280c3746ace92bb04344d7410d0962309f08fda76a1e0c3266909ffb8c |