Install and Use SDK
WARNING
Available for version 3.1.8 and above
Lua
WARNING
Only supports Lua 5.4 and above
The web frontend scene code editor has a built-in lebai_sdk and has initialized the local instance to the variable name lebai, which can be used directly.
If you need to use the Lua SDK in an external controller, you can download it from Github and extract it to any folder listed in package.cpath.
Usage examples see Reference Examples
Python
WARNING
Only supports Python 3.7 and above
If using the standard calling method, install lebai-sdk:
pip uninstall lebai-sdk-asyncio pip install lebai-sdk --force-reinstallIf using the asynchronous coroutine calling method, i.e., AsyncIO and async/await, install lebai-sdk-asyncio:
pip uninstall lebai-sdk pip install lebai-sdk-asyncio --force-reinstallDownload the
whl filefrom Github and install withpip install
Usage examples see Reference Examples
JavaScript
JavaScript support based on wasm technology
If using bundler development, you can install directly via npm:
npm install lebai-sdkIf using NodeJs or web development, you can download from Github.
Usage examples see Reference Examples
Rust
cargo add lebai_sdk --features mdns
C++
Use the project source code from GitHub
Usage examples see GitHub
C#
dotnet add package lebai
Usage examples see GitHub
Java
Download and use from Github
Usage examples see GitHub
