teleshka_media_client 1.0.0
teleshka_media_client: ^1.0.0 copied to clipboard
Dart client for Teleshka Media API. Upload images and videos, generate signed imgproxy URLs for image transformations, and manage media assets.
1.0.0 #
- Initial release
TeleshkaMediaClientfor media API operations:initUpload()- Get presigned upload URLuploadFile()- Upload file with progress trackinguploadBytes()- Upload bytes (for web/mobile)completeUpload()- Mark upload as completegetAsset()- Get asset by IDlistAssets()- List all assetsdeleteAsset()- Delete assetuploadFileComplete()- Complete upload workflowwaitUntilReady()- Poll until asset is processed
ImgProxySignerfor signed image transformation URLs:signUrl()- Sign custom imgproxy operationssignUrlWithExpiry()- Sign with expirationbuildImageUrl()- Build common transformations
- Type-safe models:
Asset,InitUploadResponse,ListAssetsResponse MediaApiErrorexception for error handling