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
Metadata
Release files for weshort 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| weshort-1.0.2.tar.gz | 21.7 kB | Details |
Release files / weshort-1.0.2.tar.gz
| Download URL | weshort-1.0.2.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d61fad6e20418cebb6c719d850f863d196cc0d2994ebdbd919333ccba05fbf2c
|
|
BLAKE2b-256 checksum How to use checksums |
0a0c924f213a8a845b6b0b33192694c7f97e4311e7b88dc690adbb3e484bc09e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.2
|