Skip to main content

Python client for Upload-Post.com API

Project description

upload-post Python Client

A Python client for the Upload-Post.com API, designed to facilitate interaction with the service. Upload-Post.com allows you to upload videos to multiple social media platforms simultaneously.

PyPI version Python Versions

Features

  • 🚀 Upload videos to TikTok, Instagram, Facebook, and YouTube (platform support based on API availability)
  • 🔒 Secure API key authentication
  • 📁 File validation and error handling
  • 📊 Detailed logging
  • 🤖 Both CLI and Python API interfaces

Installation

pip install upload-post

Usage

Command Line Interface

upload-post \
  --api-key "your_api_key_here" \
  --video "/path/to/video.mp4" \
  --title "My Awesome Video" \
  --user "testuser" \
  --platforms tiktok instagram

Python API

from upload_post import UploadPostClient

client = UploadPostClient(api_key="your_api_key_here")

response = client.upload_video(
    video_path="/path/to/video.mp4",
    title="My Awesome Video",
    user="testuser",
    platforms=["tiktok", "instagram"]
)

Error Handling

The client raises UploadPostError exceptions for API errors. Common error scenarios:

  • Invalid API key
  • Missing required parameters
  • File not found
  • Platform not supported
  • API rate limits exceeded

Documentation

For full API documentation and platform availability, see the official Upload-Post.com documentation.

License

MIT License - See LICENSE for details.

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

upload_post-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

upload_post-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file upload_post-0.1.1.tar.gz.

File metadata

  • Download URL: upload_post-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for upload_post-0.1.1.tar.gz
Algorithm Hash digest
SHA256 edbc421a500e354615ba2f612e0124d5e1c0646a50a2dae9a124fc0448acfb28
MD5 43b1b8f33f06d4ffb2d37bc8f1667924
BLAKE2b-256 ba0514756a85de6e614a25bef7848520cefbdef4be7d7988f16dccca65352247

See more details on using hashes here.

File details

Details for the file upload_post-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: upload_post-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for upload_post-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c1bdad44278c018fa305e6a274f1f1cbd6129ac4f766879cdaa78bd5f7c06d1
MD5 b344610a6ea812ddb18961e3971be8af
BLAKE2b-256 86e78f293d04b89b44ab7dfbc255134b94bb1633b7ac282fa03ced2fe33d3a96

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