SDK para automações do Mozarbot
Project description
RPA Client
Instalação
pip install mozarbot
Como usar?
from mozarbot.sdk import rpa
rpa.alert(task_id, title, message, type)
Documentação
Para gerar alertas
rpa.alert(task_id, title, message, type)
Para retornar informações da execução atual
rpa.get_execution_data()
O retorno é um JSON com as informações da execução atual, com os seguintes campos:
{
task: {
id: string # ID da execução
robotId: string # ID do robô
runnerId: string # ID do runner
automationId: string # ID da automação
} | null
}
Para retornar informações dos parametros da execução atual
rpa.get_params(automation_id)
O retorno é um JSON com os parametros da execução atual, com os seguintes campos:
{
parameters: [
{
id: string # ID do parametro
type: string # Tipo do parametro
label: string # Label do parametro
required: boolean # Se o parametro é obrigatório
defaultValue: string # Valor default do parametro
}
]
}
Para retornar os secrets do automação
# label é opcional
rpa.get_secrets(label)
O retorno é um JSON com os secrets da automação, com os seguintes campos:
{
secrets: [
{
id: string
label: string
value: string
}
]
}
Para reportar o tempo de execução da task
rpa.report_saving(task_id, automation_id, time_spent)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mozarbot-0.1.1.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mozarbot-0.1.1.tar.gz.
File metadata
- Download URL: mozarbot-0.1.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bdc3811c6b61dcfb0b3c9104497bbdf7d115beb9b2cb9a11139e898108d9911
|
|
| MD5 |
99b923333cc9d2721b9dd4298a89fbb6
|
|
| BLAKE2b-256 |
5a5de3bba62b09a2970610c5482f13c55d6858199b83fbfcce4cbf6feb4bce7d
|
File details
Details for the file mozarbot-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mozarbot-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd1e5c17c641f4539730dd0e6960ff025231fc75fdc24176dfa0ce91fbb5c2d9
|
|
| MD5 |
66c9cd51790781e1ede155952c9f0747
|
|
| BLAKE2b-256 |
083a793e26ebb3e0ad5cc22540ae4874ea970a1551013cdba272fdc7d4c7ec0b
|