Skip to content

9.ide_blockly_to_python

Blockly转python接口:
Blockly转pythonIDE。

Message:

json
{
    "cmd": "ide_blockly_to_python",
    "data": {
        "version":"lite6",
        "user_Id":"test",
        "category":"myapp",
        "appName":"1211"
    },
    "id": "1"
}

\

Request:

  • cmd
    • string,必填,请求接口
  • date
    • Application/json,必填,请求数据
  • id
    • string,必填,请求序列号
data数据类型必需参数说明
versionstringLite6机械臂传"lite6",其他类型机械臂传空值
user_Idstring默认传test
categorystring默认传myapp
appNamestring需要转化的Blockly文件

\

Respons:

code=0->成功;
code!=0->-1表示不存在该Blockly文件,1表示转化失败。

\

请求参数