Skip to main content

A Python client for the Shotcut.in API

Project description

Shotcut API Python Client

A Python client library for the Shotcut.in URL shortening API.

Installation

pip install shotcut-api

Quick Start

from shotcut import ShortcutAPI

# Initialize the client
api = ShortcutAPI("your_api_key")

# Create a shortened URL
link = api.create_link(
    url="https://example.com",
    custom="mylink"  # Optional custom alias
)
print(f"Shortened URL: {link.shorturl}")

Features

  • Create and manage shortened URLs
  • Handle campaigns and channels
  • Custom domain support
  • Full API coverage
  • Type hints for better IDE support
  • Proper error handling

Documentation

For full documentation, visit our documentation page.

License

This project is licensed under the MIT License - see the LICENSE file 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

shotcut_api-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

shotcut_api-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file shotcut_api-0.1.0.tar.gz.

File metadata

  • Download URL: shotcut_api-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for shotcut_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c6d509b4a9cc3951446e15d8dfd0ce6f8a3202a123a9f149013d3861fd410ef
MD5 42b14894c9387204d18269f7577484dd
BLAKE2b-256 8a20a17f45de0603a4606304ebe2e93a12cc57b7ecb3fdf5be89a0bbe72b0331

See more details on using hashes here.

File details

Details for the file shotcut_api-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: shotcut_api-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for shotcut_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b11133ddcc2e396ecdc12480cca47fa040effa78e12b8fe8c0a27f16868557d
MD5 2db11c035d281a6cc7d432ae5622a94c
BLAKE2b-256 d96d74dc9bef2c6230bdfddc22351f8f8c50e7cd1919e0cd2bfe462661324a0d

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