Skip to main content

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

Ayiin
Ayiin

License

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

Credits

Project details


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.2.tar.gz (21.7 kB view details)

Uploaded Source

File details

Details for the file weshort-1.0.2.tar.gz.

File metadata

  • Download URL: weshort-1.0.2.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.2

File hashes

Hashes for weshort-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d61fad6e20418cebb6c719d850f863d196cc0d2994ebdbd919333ccba05fbf2c
MD5 05c9a1d761e9d7318417850ef8dae0b6
BLAKE2b-256 0a0c924f213a8a845b6b0b33192694c7f97e4311e7b88dc690adbb3e484bc09e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page