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.1.tar.gz (32.3 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.1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: indream_client-0.3.1.tar.gz
  • Upload date:
  • Size: 32.3 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.1.tar.gz
Algorithm Hash digest
SHA256 6ac7fc919f8bf97750aecbfadc23f4f34d41ebebedc03287c6e46d52f0ecec1a
MD5 6e3329aa32cd69d5a2b8079e51d39b91
BLAKE2b-256 9c92f1c5f26275e1f41844e4ded59925b836ae8325b78ef7fc692b95bacc436a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: indream_client-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 19.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11a6793fededff22cdd9bfbc795e2bc18f778868b6bcc4510d6a67504dab177f
MD5 6f5fc6797bebf457eabc96de89b796cf
BLAKE2b-256 0d32426b6425eb17b32cae1de8c6fe061a4647d4a0b08f406b3e737635e419d9

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