Skip to main content

Python client for interacting with the Parcha API, providing both synchronous and asynchronous methods for various API endpoints.

Project description

Parcha API Client

A Python client for interacting with the Parcha API, providing both synchronous and asynchronous methods for various API endpoints.

Features

  • KYB (Know Your Business) and KYC (Know Your Customer) job management
  • Check job execution
  • Job retrieval by ID and case ID
  • Asynchronous support using aiohttp

Installation

pip install parcha-api-client  # Note: Package name may differ

Usage

from parcha_api import ParchaAPI, KYBAgentJobInput

# Initialize the client
api = ParchaAPI("https://api.parcha.com", "your_api_token")

# Start a KYB agent job
kyb_input = KYBAgentJobInput(
    agent_key="your_agent_key",
    kyb_schema={"business_name": "Example Corp"}
)
response = api.start_kyb_agent_job(kyb_input)

# Get job by ID
job = api.get_job_by_id("job_id_here")

# Async example
async def fetch_jobs():
    jobs = await api.get_jobs_by_case_id_async("case_id", "agent_key")
    return jobs

Documentation

For detailed information on available methods and models, refer to the docstrings in the source code.

Requirements

  • Python 3.7+
  • requests
  • aiohttp
  • pydantic

License

This Parcha API Client is proprietary software belonging to Parcha Labs Inc. All rights reserved. Use of this software is subject to the terms of your service agreement with Parcha Labs Inc..

For questions about licensing or usage, please contact support@parcha.ai.

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

parcha_api-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

parcha_api-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file parcha_api-0.1.0.tar.gz.

File metadata

  • Download URL: parcha_api-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for parcha_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f1cce56b8f74f93488e4f1f4a2d7f0cadfc2b451ded371b196b62a22f5216877
MD5 fceac975f2f43b188674df41f490ee43
BLAKE2b-256 2ded89726032c2b853b38d0de61b495687ad8b1c0e5bcb359ea00b71d53944cf

See more details on using hashes here.

File details

Details for the file parcha_api-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: parcha_api-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for parcha_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f0a4c59d4df3557bbd06639089800296565fc0c3697ae229b767ebbebb7673
MD5 8b6d1b1ee7a62bd5ebb134c99a3f4d23
BLAKE2b-256 f89f4ab9c1c418cec808230b38f91438a23c818c55f4bf20c66a5cd880faf0e0

See more details on using hashes here.

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