Python package that acts as a wrapper for the Nintex Automation Cloud system.
Project description
Overview
nacwrap is a python package for interacting with the Nintex Automation Cloud system. Creating workflow instances, delegating tasks, etc. Essentially just a wrapper for the NAC API.
Installation
Haven't yet bothered to publish as a python package, intent is to simply add nacwrap as a git submodule in any projects where it's needed.
Usage
Several environment variables are required for nacwrap to function.
Required? | Env Variable | Description |
---|---|---|
Yes | NINTEX_CLIENT_ID | Client ID for connecting to Nintex API. Created in Apps and Tokens page in NAC. |
Yes | NINTEX_CLIENT_SECRET | Client secret for connecting to Nintex API. Created in Apps and Tokens page in NAC. |
Yes | NINTEX_GRANT_TYPE | Value should be 'client_credentials'. |
Yes | NINTEX_BASE_URL | Value depends on which Nintex region you are in. US is, for example 'us.nintex.io'. https://developer.nintex.com/docs/nc-api-docs/d2924cfeea6e8-welcome-to-the-nintex-automation-cloud-api#choose-your-region |
Instances - Create Instance
Function to create a workflow instance. Takes in two parameters.
workflow_id: The ID of the workflow you want to create an instance for.
start_data: Optional, any start data the worklfow requires. Should be provided in dictionary format. Returns JSON response if successful.
Instances - List Instances
Function to return instance data. Takes a number of parameters for filtering what instance data to get.
Tasks - Delegate Assignment (TODO)
Make function to delegate tasks from one user to another.
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
Built Distribution
File details
Details for the file nacwrap-0.1.0.tar.gz
.
File metadata
- Download URL: nacwrap-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db9e6cd43515a0b121ff891d589dc2f6fa96f3666c25811ffc5abf35d5d0a5a2 |
|
MD5 | 8a08b9fee9568b0887cbad52121a5d8b |
|
BLAKE2b-256 | e1478ad32bdfa37e0d2ad5df157fbb2747fed8dcd1f0d25a6ce9dbea67f7383c |
File details
Details for the file nacwrap-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: nacwrap-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 223ee2cd5b830b99d5f9a47108d3ece45fbcc377b7cf5b14ed5e0e3c61e93115 |
|
MD5 | f62208ec1fe378eb89066f56c93f9448 |
|
BLAKE2b-256 | 34e83ddf2b129afb998362215e5c7e7bdf2ee605a43ff95d8fc9df15870a146e |