WeShort is Shortener URL and Asynchronous API in Python
Project description
WeShort API for Python
Homepage
•
Releases
•
News
WeShort
WeShort is Shortener URL and Asynchronous API in Python
from weshort import WeShort
from weshort.exception import WeShortError
weShort = WeShort(
apiToken="YOUR_API_TOKEN"
)
try:
shortUrl = await weShort.createShortUrl("https://youtu.be/YcQFi-1lAOo?si=pZO1WopFBjU2B6XJ", 1000)
except WeShortError as e:
print(e)
return
else:
print(shortUrl)
WeShort is a modern, elegant and asynchronous WeShort API shortener URL. It enables you to easily interact with the main means of WeShort using Python.
Installation
pip3 install weshort
Made with ✨ by
License
WeShort is licensed under GNU General Public License v3 or later.
Credits
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
weshort-1.0.1.tar.gz
(21.8 kB
view details)
File details
Details for the file weshort-1.0.1.tar.gz.
File metadata
- Download URL: weshort-1.0.1.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba10b48491400e89488450e3c8237291f32ffc9c6b7f6ecff1d07b48ff72919c
|
|
| MD5 |
2a2caa5caeb4fad3a6e7d38d90b5a679
|
|
| BLAKE2b-256 |
c6bf8378fff145be4dbdfa6641edd328509d6d467a5fb28bdfa76aa77bcc6e1f
|