Python url shortner
Project description
INSTALLATION
pip install shortners
import asyncio
from Shortners.functions import Shortners
shortner_api = "a1cgsja52iey3j53mg"
shortner_url = "https://modijiurl.com/api"
contents_url = "https://github.com/Clinton-Abraham"
core = Shortners(api=shortner_api, domain=shortner_url)
async def test():
o = await core.convert(contents_url)
print(o.result)
print(o.status)
print(o.errors)
asyncio.run(test())
import asyncio
from Shortners.functions import Shortners
shortner_api = "a1cgsja52iey3j53mg"
shortner_url = "https://xxxxxx.net/api"
contents_url = "Link01 : https://github.com/Clinton-Abraham Link02 : https://telegram.me/Clinton_Abraham"
core = Shortners(api=shortner_api, domain=shortner_url)
async def test():
o = await core.bulkshort(contents_url)
print(o)
asyncio.run(test())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shortners-1.1.12.tar.gz
(3.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shortners-1.1.12.tar.gz.
File metadata
- Download URL: shortners-1.1.12.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
983d844b8629ec5159bc58c1c42442a107da4df40881dc9e03d5e68f3020dbcc
|
|
| MD5 |
946d0bb0e28be0e6f6a36d9480dfbc46
|
|
| BLAKE2b-256 |
53d68970d7350714635bacdd118384a6642f765286f9cdb634a228c914b4b996
|
File details
Details for the file shortners-1.1.12-py3-none-any.whl.
File metadata
- Download URL: shortners-1.1.12-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f177e9498749a2035a3a79c5591267246376d606473eb9a145c6bfd2a45097bb
|
|
| MD5 |
b09735f3875e7c34c871c2f339c5b2aa
|
|
| BLAKE2b-256 |
847b72f96832ea8f123f3e39b567c93c850fffeac3553646528cdfe42ecc80b1
|