Skip to main content

SDK for the Argil API

Project description

\n# Argil SDK for Python

This is the Python SDK for the Argil API. It provides a convenient way to interact with the Argil's API from Python applications.

Installation

You can install the SDK with pip:

pip install argil

Usage

Here's an example of how to use the SDK:

from argil import ArgilSdk

argilSdk = ArgilSdk('ARGIL_API_KEY')

# Run a workflow
response = argilSdk.workflows.run(WORKFLOW_ID, { 'input': {INPUT_OBJECT} })
print(response)

# List workflow runs
response = argilSdk.workflowRuns.list()
print(response)

# Get a specific workflow run
response = argilSdk.workflowRuns.get(WORKFLOWRUN_ID)
print(response)

Project details


Download files

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

Source Distribution

argil-0.0.4.tar.gz (14.3 kB view hashes)

Uploaded Source

Built Distribution

argil-0.0.4-py3-none-any.whl (15.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page