dotbot.rest module#
Module containing client code to interact with the controller REST API.
- class dotbot.rest.RestClient(hostname, port, https)[source]#
Bases:
objectClient to interact with the controller REST API.
- async fetch_dotbots(query=None)[source]#
Fetch DotBots matching the query.
- Parameters:
query (DotBotQueryModel | None)
- Return type:
List[DotBotModel]
- async send_move_raw_command(address, application, command)[source]#
Send a move raw command to a DotBot.
- async send_waypoint_command(address, application, command)[source]#
Send an waypoint command to a DotBot.
- property base_url#
Returns the base URL of the controller REST API.