API 代码示例
Last updated: June 19, 2026
L2L 调度 API 是一个基于 REST 的 Web 服务,可以从任何能够执行 HTTPS GET/POST Web 请求的系统和/或编程语言中使用。为了帮助开发者开始使用 API,我们提供了以下 Github 仓库,作为使用各种流行编程语言调用 API 的示例。
在 GitHub 上加入我们:

https://github.com/leading2lean
代码示例仓库:
les-集成

https://github.com/leading2lean/les-integration
所有 LES 集成仓库的便捷项目,单独仓库作为子模块添加。
les-go
https://github.com/leading2lean/les-go
LES集成代码用Go编写
les-bash

https://github.com/leading2lean/les-bash
LES集成代码用bash
les-swift

https://github.com/leading2lean/les-swift
LES集成代码用Swift编写
les-python3

https://github.com/leading2lean/les-python3
LES集成代码用python3编写
les-javascript

https://github.com/leading2lean/les-javascript
LES集成代码用javascript编写
调度-iot-示例

https://github.com/leading2lean/dispatch-iot-sample
使用L2L的云调度在物联网环境中的示例代码。
调度-集成

https://github.com/leading2lean/dispatch-integration
演示与调度API集成的VB项目
L2L点火脚本库

https://github.com/leading2lean/L2L_Ignition_Scripting_Library
用于集成点火和L2L智能制造平台的调度。