Install and Use SDK
WARNING
Only available in version 3.1.8 and above
Lua
WARNING
Only supports Lua 5.4 and above versions
The Lua SDK is already integrated in the LEBAI Lua Scene Editor and can be used directly in Lua scenes;
To use Lua SDK in external controllers, you can download it from Github and extract it to any folder listed in package.cpath
.
See Reference Examples for usage examples
Python
WARNING
Only supports Python 3.7 and above versions
For regular calling method, please install lebai-sdk:
pip install lebai-sdk
For asynchronous coroutine calling method, i.e., AsyncIO and async/await, please install lebai-sdk-asyncio:
pip install lebai-sdk-asyncio
See Reference Examples for usage examples
JavaScript
Provides support for JavaScript based on wasm technology
If using bundler development, you can install directly via npm:
npm install lebai-sdk
For NodeJs and Web development, you can download from Github.
See Reference Examples for usage examples
Rust
cargo add lebai_sdk --features mdns
C++
Use the project source code from GitHub
See GitHub for usage examples
C#
dotnet add package lebai
See GitHub for usage examples
Java
Download from Github for use
See GitHub for usage examples