Python url shortner
Project description
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())
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.5.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for Shortners-1.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa657c45cc310761e3db51091ee07e58c4295cb96cff4aa8a21e80ad729c835e |
|
MD5 | 7ba70f6999a72e24494177b49f0d9252 |
|
BLAKE2b-256 | 565e11e582ab6ea6ced741b978e046662fc5b05569d44017679abe5a538403d3 |