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-1.0.0.tar.gz (32.9 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-1.0.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for indream_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6c4e9c5066381db9712fc044c00b46efb8df6da10a3b3dda218b22c179e806d3
MD5 fad4b1614234f049a82c127588cc02e9
BLAKE2b-256 629ee00bf02fb7a5f8f3fb75faa9f9bddd372625f99109aa9078859ce8f5d88c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: indream_client-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a3db960150996657a7b76fcc44cac6bd33e8e915282febff8d7b3a028c03797
MD5 f69f6fd9f88876a6c41774707ea06e9d
BLAKE2b-256 abfbb28ac18d26c40f01485c7ac9c8f6d8ec251414fbf8c4dbb8cbcd231bb6d9

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