<p align="center">
<b>WeShort API for Python</b>
<br>
<a href="https://github.com/AyiinXd/pyweshort">
Homepage
</a>
•
<a href="https://github.com/AyiinXd/pyweshort/releases">
Releases
</a>
•
<a href="https://t.me/AyiinChats">
News
</a>
</p>
<p align="center">
<img src="https://weshort.pro/images/branch.png">
</p>
## WeShort
> WeShort is Shortener URL and Asynchronous API in Python
``` 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](https://weshort.pro/)
shortener URL. It enables you to easily interact with the main means of WeShort using Python.
### Installation
``` bash
pip3 install weshort
```
## Made with ✨ by
[![Ayiin](https://img.shields.io/static/v1?label=Github&message=AyiinXd&color=critical)](https://github.com/AyiinXd)
[![Ayiin](https://img.shields.io/static/v1?label=Telegram&message=AyiinXd&color=aqua)](https://t.me/AyiinXd)
#
# License
[![License](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](LICENSE)
WeShort is licensed under [GNU General Public License](https://www.gnu.org/licenses/agpl-3.0.html) v3 or later.
#
# Credits
* [AyiinXd](https://github.com/AyiinXd) for [weshort](https://github.com/AyiinXd/pyweshort)
#
Raw data
{
"_id": null,
"home_page": "https://github.com/AyiinXd/pyweshort",
"name": "weshort",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": null,
"keywords": "api scrapper library python shortener shortlink shorturl url",
"author": "AyiinXd",
"author_email": "ayiin@gotgel.org",
"download_url": "https://files.pythonhosted.org/packages/ae/36/cf914473aeb2e014e17b17e457cdb5b1a8d22f669c6cfd64cd0700e242d5/weshort-1.0.0.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <b>WeShort API for Python</b>\n <br>\n <a href=\"https://github.com/AyiinXd/pyweshort\">\n Homepage\n </a>\n \u2022\n <a href=\"https://github.com/AyiinXd/pyweshort/releases\">\n Releases\n </a>\n \u2022\n <a href=\"https://t.me/AyiinChats\">\n News\n </a>\n</p>\n\n<p align=\"center\">\n <img src=\"https://weshort.pro/images/branch.png\">\n</p>\n\n## WeShort\n\n> WeShort is Shortener URL and Asynchronous API in Python\n\n``` python\nfrom weshort import WeShort\nfrom weshort.exception import WeShortError\n\nweShort = WeShort(\n apiToken=\"YOUR_API_TOKEN\"\n)\n\ntry:\n shortUrl = await weShort.createShortUrl(\"https://youtu.be/YcQFi-1lAOo?si=pZO1WopFBjU2B6XJ\", 1000)\nexcept WeShortError as e:\n print(e)\n return\nelse:\n print(shortUrl)\n```\n\n**WeShort** is a modern, elegant and asynchronous [WeShort API](https://weshort.pro/)\nshortener URL. It enables you to easily interact with the main means of WeShort using Python.\n\n\n### Installation\n\n``` bash\npip3 install weshort\n```\n\n\n## Made with \u2728 by\n\n[![Ayiin](https://img.shields.io/static/v1?label=Github&message=AyiinXd&color=critical)](https://github.com/AyiinXd) \n[![Ayiin](https://img.shields.io/static/v1?label=Telegram&message=AyiinXd&color=aqua)](https://t.me/AyiinXd)\n#\n# License\n[![License](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](LICENSE) \nWeShort is licensed under [GNU General Public License](https://www.gnu.org/licenses/agpl-3.0.html) v3 or later.\n#\n# Credits\n* [AyiinXd](https://github.com/AyiinXd) for [weshort](https://github.com/AyiinXd/pyweshort)\n#\n",
"bugtrack_url": null,
"license": "LGPLv3",
"summary": "WeShort is Shortener URL and Asynchronous API in Python",
"version": "1.0.0",
"project_urls": {
"Community": "https://t.me/AyiinProjects",
"Download": "https://github.com/AyiinXd/pyweshort/releases/latest",
"Homepage": "https://github.com/AyiinXd/pyweshort",
"Source": "https://github.com/AyiinXd/pyweshort",
"Tracker": "https://github.com/AyiinXd/pyweshort/issues"
},
"split_keywords": [
"api",
"scrapper",
"library",
"python",
"shortener",
"shortlink",
"shorturl",
"url"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ae36cf914473aeb2e014e17b17e457cdb5b1a8d22f669c6cfd64cd0700e242d5",
"md5": "d43ff625528f30dc52036ba7ed6a32b8",
"sha256": "4e28a69b5bece82e8582bd68e3c3f4f48eb496a09df88333904fa62fbaa3043d"
},
"downloads": -1,
"filename": "weshort-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "d43ff625528f30dc52036ba7ed6a32b8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 20046,
"upload_time": "2024-12-17T17:25:00",
"upload_time_iso_8601": "2024-12-17T17:25:00.375832Z",
"url": "https://files.pythonhosted.org/packages/ae/36/cf914473aeb2e014e17b17e457cdb5b1a8d22f669c6cfd64cd0700e242d5/weshort-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-17 17:25:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AyiinXd",
"github_project": "pyweshort",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "weshort"
}