API for control web browser
API for automation scripts .you can ask some developer to make customized scripts there
Our software with API or ADB commond You can launch the scripts via API call from our systems. And pass in the parameters as well in the API call.
For users with automation needs, we provide a WSAPI interface.
WebSocket API is a common, universal http protocol API interface. It supports various language calls, such as: Keyboard Wizard, Easy Language, C++, Python, Html, Vue, Node.js, etc.
DEMO is located in the software installation directory androids\Dev samples. Use programming software to open and view

wsapi address 127.0.0.1:22223
------------Except for the list interface and the group interface, other interfaces need to pass deviceIds device ids separated by multiple commas or groupIds group ids separated by multiple commas
List interface query list return device id
{
"action": "List"
}
Detail interface query some device list information deviceIds device ids separated by multiple commas or groupIds group ids separated by multiple commas
{
"action": "Detail",
"comm": {
"deviceIds":"fa3523ea0510"
}
}
HostDetail interface query the device information of the current host
{
"action": "HostDetail",
}
GetAppInfoByAppName Directly launch the app by app name
{
"action": "GetAppInfoByAppName",
"comm": {
"deviceIds":"all",
"appName":"911"
}
}
CurrentAppInfo Get the application package name and class name of the page where the current device is located
{
"action": "CurrentAppInfo",
"comm": {
"deviceIds":"all"
}
}
GetGroup interface Query group list
{
"action": "GetGroup"
}
CreateGroup interface Create group Return new group id
{
"action": "CreateGroup",
"comm": {
"groupName":"New group 2"
}
}
UpdateGroup interface Modify group name
{
"action": "UpdateGroup",
"comm": {
"groupId":"6",
"groupName":"New group name"
}
}
DeleteGroup Delete group
{
"action": "DeleteGroup",
"comm": {
"groupId":"6"
}
}
RemoveDeviceGroup Remove the device to the specified group deleteGroupId The original group id of the device newGroupId The new group id to be moved to androidIds Device id Multiple comma separated
{
"action": "RemoveDeviceGroup",
"comm": {
"deleteGroupId":"6",
"newGroupId":"7",
"androidIds":"fa3523ea0510"
}
}
EditDeviceName Modify the device name deviceIds can only pass one isTemp is 1 when the database is not saved, just temporary modification
{
"action": "EditDeviceName",
"comm": {
"deviceIds":"fa3523ea0510",
"deviceName":"New device name",
"isTemp":"1",
}
}
EditDeviceNo Modify device number deviceIds can only pass one deviceNo int type string isTemp is 1, the database is not saved, just temporary modification
{
"action": "EditDeviceNo",
"comm": {
"deviceIds":"fa3523ea0510",
"deviceNo":"66",
"isTemp":"1",
}
}
Screen interface screenshot
{
"action": "Screen",
"comm": {
"groupIds":"1,2,3",
"savePath":"Save folder directory"
}
}
WriteCipboard Set mobile phone clipboard
{
"action": "WriteClipboard",
"comm": {
"deviceIds":"fa3523ea0510",
"content":"Copy a paragraph to the mobile phone"
}
}
GetClipboard Get the content of the mobile phone clipboard. Here, deviceIds can only pass one Cannot have multiple
{
"action": "GetClipboard",
"comm": {
"deviceIds":"fa3523ea0510"
}
}
BasisOperate Basic mobile phone operation type: 1 Volume up 2 Volume down 3 Back 4 Home button 6 Recent tasks 14 Screen off 15 Screen on
{
"action": "BasisOperate",
"comm": {
"deviceIds":"fa3523ea0510",
"type":"1"
}
}
PointerEvent Event operation
Mask event type 0 Press 1 Move 2 Release 3 Right mouse button 4 Scroll wheel up 5 Scroll wheel down 6 Swipe up 7 Swipe down 8 Swipe left 9 Swipe right 10 Zoom in 11 Zoom out
x, y coordinates Pass percentage Percentage endx endy also Swipe up Swipe down Swipe left Swipe right Need to pass endx endy Other events just pass 0
{
"action": "PointerEvent",
"comm": {
"deviceIds":"fa3523ea0510",
"mask":"0",
"x":"0.5",
"y":"0.5",
"endx":"0",
"endy":"0",
"delta":"2"
}
}
keyBoardkey Keyboard Event The value of key is selected using System.Windows.Input.Keys(https://learn.microsoft.com/zh-cn/dotnet/api/system.windows.input.key?view=windowdesktop-8.0) modifiers are the same. Currently there are three Keys.Shift=4 Keys.Control=2 Keys.Alt=1
isUp is whether it is released. 0 is pressed and 1 is released
{
"action": "KeyBoardkey",
"comm": {
"deviceIds":"fa3523ea0510",
"key":"15",
"modifiers":"262144",
"isUp":"1"
}
}
InputText for inputting Chinese
{
"action": "InputText",
"comm": {
"text":"I am",
"deviceIds":"fa3523ea0510"
}
}
ADB adb command
{
"action": "ADB",
"comm": {
"command":"ip addr show wlan0",
"deviceIds":"fa3523ea0510"
}
}
BeginFileSend starts uploading files filePaths computer file path isAutoInstall passes 0 to upload files and passes 1 to automatically install apk
{
"action": "BeginFileSend",
"comm": {
"filePaths":"The file paths you want to upload are separated by commas",
"isAutoInstall":"0",
"deviceIds":"fa3523ea0510"
}
}
StopSendFile interrupts uploading files
{
"action": "StopSendFile",
"comm": {
"deviceIds":"fa3523ea0510"
}
}
ExecuteBat executes Bat file filePath passes the file path of bat
{
"action": "ExecuteBat",
"comm": {
"deviceIds":"all",
"filePath" :"C:\\Program Files\\911\\Scripts\\slide.bat"
}
}
StopBat stops Bat file filePath passes the file path of autojs. Passing empty means stopping all bat scripts of the device
{
"action": "StopBat",
"comm": {
"deviceIds":"all",
"filePath":"C:\\Program Files\\911\\Scripts\\slide.bat"
}
}
HttpDown http/https file download save to mobile directory httpurl is the downloaded file savepath is the directory saved to mobile phone
{
"action": "HttpDown",
"comm": {
"deviceIds":"all",
"httpurl":"http://911.cnhack.com/index.1.0.7.8.1694195495.html",
"savepath":"/data/local/tmp/911.html"
}
}
PullText reads the content of a file on the mobile phone textpath is the path of the file on the mobile phone
{
"action": "PullText",
"comm": {
"deviceIds":"all",
"textpath":"/storage/emulated/0/Download/text.txt"
}
}
PullFile downloads the specified file on the mobile device to the specified directory of the local device deviceIds can only be one phoneFilePath is the file path on the phone savePath is the save path on the computer
{
"action": "PullFile",
"comm": {
"deviceIds":"192.168.110.76:5555",
"phoneFilePath":"/storage/emulated/0/Download/911.exe",
"savePath":"C:/188s52.exe"
}
}