dotbot.rest module
Module containing client code to interact with the controller REST API.
-
class dotbot.rest.RestClient(hostname, port, https)[source]
Bases: object
Client to interact with the controller REST API.
-
async fetch_active_dotbots()[source]
Fetch active DotBots.
-
async send_move_raw_command(address, application, command)[source]
Send a move raw command to a DotBot.
-
async send_rgb_led_command(address, command)[source]
Send an RGB LED command to a DotBot.
-
property base_url
Returns the base URL of the controller REST API.