9.ide_blockly_to_python
Blockly to python interface: blockly to pythonIDE.
Message:
json
{
"cmd": "ide_blockly_to_python",
"data": {
"version":"lite6",
"user_Id":"test",
"category":"myapp",
"appName":"1211"
},
"id": "1"
}
Request:
data | type | Required fields | Description |
---|---|---|---|
version | string | yes | Lite6 arm passes “lite6”, other types pass null |
user_Id | string | yes | Default pass test |
category | string | yes | Default pass myapp |
appName | string | yes | Blockly files to be converted |
Respons:
code=0->Success;
code!=0->-1 means that the Blockly file does not exist, and 1 means that the conversion failed.