Skip to main content

Official Python client for Indream Open API

Project description

indream-client

Official Python client for the Indream Open API.

Installation

pip install indream-client

Quick Start

from indream import IndreamClient

client = IndreamClient(api_key="YOUR_INDREAM_API_KEY")

created = client.exports.create(
    {
        "editorState": editor_state,
        "ratio": "9:16",
        "scale": 0.6,
        "fps": 30,
        "format": "mp4",
    }
)

task = client.exports.wait(created.task_id)
print(task.status, task.output_url, task.duration_seconds, task.billed_standard_seconds)

Editor State Checks

client.editor.validate(...) and client.exports.create(...) run local editor-state schema checks before request dispatch. If editorState is invalid, the SDK raises ValidationError immediately.

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

indream_client-0.2.0.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

indream_client-0.2.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file indream_client-0.2.0.tar.gz.

File metadata

  • Download URL: indream_client-0.2.0.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for indream_client-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b1268217d0293dad6c9f878ac91f8905d9cbdc83b84ff88c38826712ae61a856
MD5 020dadd7d48a19ea785ab590286ee642
BLAKE2b-256 265e9882af0cd1c82709c9ac94c54629e7edb8158433dd791956e0f52fc5cb4a

See more details on using hashes here.

File details

Details for the file indream_client-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: indream_client-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for indream_client-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68201aadbc937f9831c594dbaac4b47ced2b3f7486cea16644c746d3da01e02c
MD5 15a6e9835b0df7be8a17730b47f4a7f3
BLAKE2b-256 c31bf3a6b35731b9074ec9e233b1609845daf6ff3883e0e74585e90f824c682a

See more details on using hashes here.

Supported by

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