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 Githubopen in new window 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 Githubopen in new window.

See Reference Examples for usage examples

Rust

cargo add lebai_sdk --features mdns

C++

Use the project source code from GitHubopen in new window

See GitHubopen in new window for usage examples

C#

dotnet add package lebai

See GitHubopen in new window for usage examples

Java

Download from Githubopen in new window for use

See GitHubopen in new window for usage examples