Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

This is the SDK for AlibabaCloudRPA OpenAPI.

Project description



from rpa_openapi.RPAClient import RPAClient
from rpa_openapi.V20200430.QueryClientViewsRequest import QueryClientViewsRequest
from rpa_openapi.V20200430.ResponseModels import QueryClientViewsResponse

AccessKeyId = "你的AccessKeyId"
AccessSecret = "你的AccessSecret"

rpa_client = RPAClient(AccessKeyId, AccessSecret)
query_client_views_request = QueryClientViewsRequest()
query_client_views_request.current_page = 1
query_client_views_request.page_size = 1
query_client_views_response = rpa_client.do_action(query_client_views_request)
query_client_views_response_data = QueryClientViewsResponse(**query_client_views_response.json())
# requestId
print("requestId: ", query_client_views_response_data.requestId)
# success
print("success: ", query_client_views_response_data.success)
# code
print("code: ", query_client_views_response_data.code)
# msg
print("msg: ", query_client_views_response_data.msg)
# msgCode
print("msgCode: ", query_client_views_response_data.msgCode)
# uuid
print("uuid: ",[0].uuid)
# groupId
print("groupId: ",[0].groupId)
# clientType
print("clientType: ",[0].clientType)
# name
print("name: ",[0].name)
# ip
print("ip: ",[0].ip)
# macAddress
print("macAddress: ",[0].macAddress)
# status
print("status: ",[0].status)
# dispatchMode
print("dispatchMode: ",[0].dispatchMode)
# remark
print("remark: ",[0].remark)
# connectTime
print("connectTime: ",[0].connectTime)
# disconnectTime
print("disconnectTime: ",[0].disconnectTime)
# userId
print("userId: ",[0].userId)
# userName
print("userName: ",[0].userName)
# appId
print("appId: ",[0].appId)
# appName
print("appName: ",[0].appName)
# taskId
print("taskId: ",[0].taskId)
# connectStatus
print("connectStatus: ",[0].connectStatus)
# currentPage
print("currentPage: ", query_client_views_response_data.pager.currentPage)
# totalPage
print("totalPage: ", query_client_views_response_data.pager.currentPage)
# pageSize
print("pageSize: ", query_client_views_response_data.pager.pageSize)
# total
print("total: ",
# limit
print("limit: ", query_client_views_response_data.pager.limit)
# offset
print("offset: ", query_client_views_response_data.pager.offset)
# instanceId
print("instanceId: ", query_client_views_response_data.instanceId)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rpa-openapi, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size rpa_openapi-1.0.1-py3-none-any.whl (40.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rpa_openapi-1.0.1.tar.gz (18.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page