Python url shortner
Project description
PYTHON URL SHORTNER © 2023
INSTALLATION
pip install shortners
import asyncio
from Shortners import Shortner
shortner_api = "a1cgsja52iey3j53mg"
shortner_url = "https://tnshort.net/api"
contents_url = "https://github.com/Clinton-Abraham"
core = Shortner(shortner_api, shortner_url)
async def test():
o = await core.shortlink(contents_url)
print(o)
asyncio.run(test())
import asyncio
from Shortners import Shortner
shortner_api = "a1cgsja52iey3j53mg"
shortner_url = "https://xxxxxx.net/api"
contents_url = "https://github.com/Clinton-Abraham"
core = Shortner(shortner_api, shortner_url)
async def test():
o = await core.clinton(contents_url)
print(o)
asyncio.run(test())
import asyncio
from Shortners import Shortner
shortner_api = "a1cgsja52iey3j53mg"
shortner_url = "https://xxxxxx.net/api"
contents_url = "https://github.com/Clinton-Abraham"
core = Shortner(shortner_api, shortner_url)
async def test():
o = await core.abraham(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.4.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for Shortners-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5157dd456300c5da29316ef52e811176e2da60bda0bf3a93a505380a7db2833d |
|
MD5 | 3a04fb0e2e96f4526eed6f5ce876c836 |
|
BLAKE2b-256 | 1f8bf5d1a6dc43d0e8f1ab3d8a78f57e55031d027fe7ee5299b60040fb6a77b1 |