Python client for the Shotcut.in URL shortener API
Project description
Shotcut Python API Client
A Python client for the Shotcut.in URL shortener API. This package provides a simple interface to interact with all Shotcut.in API endpoints.
Installation
pip install shotcut-python
Quick Start
from shotcut import ShotcutAPI
# Initialize the client
api = ShotcutAPI(api_key="your_api_key_here")
# Shorten a URL
response = api.shorten_link(
url="https://example.com",
custom="my-custom-alias"
)
print(response['shorturl'])
# Create a QR code
qr = api.create_qr_code(
type="link",
data="https://example.com"
)
print(qr['link'])
Features
- Full support for all Shotcut.in API endpoints
- Rate limiting handling
- Error handling
- Type hints for better IDE support
- Comprehensive documentation
Documentation
For full documentation, visit https://shotcut-python.readthedocs.io
License
MIT License - see LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shotcut_python-1.0.0.tar.gz.
File metadata
- Download URL: shotcut_python-1.0.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
454ae755918af2a3f6007d95aa809fa22ec4df274b776756091d12acb6d4e51f
|
|
| MD5 |
05200f65c8198f3f81b228bcdeece639
|
|
| BLAKE2b-256 |
5e7f5c84525048cfc7664195725a93aaad73009c7c3df175cd1d80a3fae7c0a2
|
File details
Details for the file shotcut_python-1.0.0-py3-none-any.whl.
File metadata
- Download URL: shotcut_python-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaf68b32c9706df1f5380b5e68cd4ade64cb203080fe5a23056e66fe01a3b407
|
|
| MD5 |
d8d1d371e5337394d403034df4b31df1
|
|
| BLAKE2b-256 |
9f547f5421e95f0cc653c6320e818f77680f2793d4acb1e6ca722c0857b83b45
|