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.2.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: integrationos-0.1.2.tar.gz
  • Upload date:
  • Size: 30.7 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.2.tar.gz
Algorithm Hash digest
SHA256 36cd8dd3a0ef019d13bee1eeea85ad733cc3676c20ea7ff5e9a88a5cd2ec1d9d
MD5 7888910e1b9bdc18b2b0ea26f78d2d49
BLAKE2b-256 1774bb6af47f178bca70c50585a580b91b40070f191040a3a71c910c9a7c2a34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for integrationos-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1adaf38ba4649631ba19d49d6cd9836e7db6695c4518b089f6eff7a4f8ffdacc
MD5 8b015bb5b56d0615a7d4afe2e3c7e997
BLAKE2b-256 44918b18c6467ea94a29bccbae6c2d128b4d13248329c15b31ad5bc48ca1433e

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