_api – user API

This module contains most of the API functions that you’re meant to call to operate the system as a user. The module itself is actually a backend to modules mindstorms – Mindstorms branding of the user API and spike – Spike Prime branding of the user API, which are nearly identical and seem to exist mainly in order to correctly brand the Hub in documentation (i.e. so that Mindstorms docs can tell you to import mindstorms, and Spike Prime docs can tell you to import spike).

One interesting note is that submodule large_technic_hub only seems to appear in this module after you’ve imported either mindstorms – Mindstorms branding of the user API or spike – Spike Prime branding of the user API, so it’s probably better to just use one of those unless you have very odd requirements.

All of the classes within the submodules (except LargeTechnicHub) are aliased in the main namespace for convenience.