WeShort API for Python
Homepage
•
Releases
•
News
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.
pip3 install weshort
WeShort is licensed under GNU General Public License v3 or later.