Skip to main content

Wherobots

Top-level Wherobots client. Built from WherobotsConfig (or the environment), it owns one API connection shared by every surface it exposes. Close it, or use it as a context manager, to release that connection.

Parameters

WherobotsConfig | None
default:"None"
Configuration to use; None reads it from the environment.
str | None
default:"None"
Overrides the configured API key.
Region | str | None
default:"None"
Overrides the configured region (a Region or its name).

config

The configuration this client was built from.

files

The Files surface (wb.files.my_files, wb.files.drive(...)).

task_runs

Runs of your organization’s tasks (wb.task_runs.get(...)).

tasks

The tasks your organization can run (wb.tasks.list(), wb.tasks.run(...)).

close()

Close the API connection.