Skip to content

AyiinXd/pyWeShort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Ayiin
Ayiin

License

License
WeShort is licensed under GNU General Public License v3 or later.

Credits