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.3.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for Shortners-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 166a3607f8fe5ff85ad6c55eb20bc2658c3fbe0b8a05d13fefffb68550fe82c1 |
|
MD5 | 65bb02c0dbe1181a2d7c1553a97a5ece |
|
BLAKE2b-256 | b5a5bdba09d04a18823895b22b65cb69211f033614539d49ef57f4f26a9587e0 |