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.1.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.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: indream_client-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6febbc6dc7fbe5311d8d9c614506a6242a07a9711e3c82dd811b89eab592dedd
MD5 f98bc4a7fff831babb0ac2cce0fc695a
BLAKE2b-256 a453ac3610e1dc08526c1f11bb61a932e3459dacfbec65ea4aa122f1d303dfa5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: indream_client-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57f7ebc31fee5489a0b4148d9a604a1824e2cbb48d2a8f198c7c16cf6e020d98
MD5 5d9ae998c968cd0dbbbf0e40bda667af
BLAKE2b-256 01984ec4f729901c97b4d883aef150197428077eb78a0a2473286b3bf1b7d926

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