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.3.0.tar.gz (27.6 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.3.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: indream_client-0.3.0.tar.gz
  • Upload date:
  • Size: 27.6 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.3.0.tar.gz
Algorithm Hash digest
SHA256 3a96f0b25f9161881b35072bd265f0a8f0d4cd31c5b83448016ac32913d53549
MD5 4c95a7bd53a8577ccbaefd6871f99650
BLAKE2b-256 c97c5cae130c4bcbf15f646cf421d41ffb18e2e987c64e275a90a5b553bae97c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: indream_client-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ecaa073c3a7998d9207e8338fc33bf8e27e158544e139014ffadddc3cd557ee
MD5 174ce7cde25f10c3eb5bc1328494b862
BLAKE2b-256 a59df30ed6356678917ddd4ac72cf6f4f87652b323c37072db0b3f97191d83d0

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