Skip to main content

A Python SDK for IntegrationOS

Project description

IntegrationOS Python SDK

The IntegrationOS Python library offers a strongly-typed, Pydantic-based interface for seamless interaction with the IntegrationOS API. It's designed to facilitate easy integration and usage within server-side Python applications.

Install

Using pip:

pip install integrationos

Configuration

To use the library you must provide an API key and Connection key. Both are located in the IntegrationOS dashboard.

import asyncio
from integrationos import IntegrationOS

async def main():
    async with IntegrationOS("sk_live_1234") as integrate:
        response = await integrate.customers("live::xero::acme-inc").get("cus_OT3CLnirqcpjvw")
        print(response)

if __name__ == "__main__":
    asyncio.run(main())

Testing

  1. Configure your environment variables (see .env.sample)

  2. Build for local testing

    pip install -e .
    
  3. Run tests

    > python tests/test_unified_api.py # Test Unified API
    > python tests/test_passthrough.py # Test Passthrough API
    > python tests/test_pagination.py # Test Pagination
    

Full Documentation

Please refer to the official IntegrationOS Documentation and API Reference for more information and Node.js usage examples.

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

integrationos-0.1.3.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

integrationos-0.1.3-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

Details for the file integrationos-0.1.3.tar.gz.

File metadata

  • Download URL: integrationos-0.1.3.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for integrationos-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1f24cfa4b678d2513b52d4ab0a28f259541069e39dbc91db7df3841cd60e538b
MD5 f4f58aa37efc6cc68567493464e4b1da
BLAKE2b-256 b74081a15e1d79c3bf5cdf67f1995e7f84f6ea709e043486d5599749b9b232a7

See more details on using hashes here.

File details

Details for the file integrationos-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for integrationos-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 237600dcb9e2cd5184a3e1e4d144289eb8074027bf82afc03b0c5baee10667c4
MD5 10aa8d67f90bba1a5905a194b2aa3efc
BLAKE2b-256 0309e0be30fae6aea069cd52f6929ec94b401b160bf818bb506afbab30cf7f4b

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